nastra commented on code in PR #12768: URL: https://github.com/apache/iceberg/pull/12768#discussion_r2045178435
########## core/src/test/java/org/apache/iceberg/rest/TestRESTCatalog.java: ########## @@ -1256,37 +1255,37 @@ public void testTableAuth( required(2, "data", Types.StringType.get())); if (requiresNamespaceCreate()) { - catalog.createNamespace(ident.namespace()); + catalog.createNamespace(TBL.namespace()); } - Table table = catalog.createTable(ident, expectedSchema); + Table table = catalog.createTable(TBL, expectedSchema); assertThat(table.schema().asStruct()) .as("Schema should match") .isEqualTo(expectedSchema.asStruct()); - Table loaded = catalog.loadTable(ident); // the first load will send the token + Table loaded = catalog.loadTable(TBL); // the first load will send the token assertThat(loaded.schema().asStruct()) .as("Schema should match") .isEqualTo(expectedSchema.asStruct()); loaded.refresh(); // refresh to force reload - Mockito.verify(adapter) + verify(adapter) Review Comment: I was about to merge but just saw this and this seems like an unrelated change that we typically wouldn't want to include as part of this PR. Could you please revert the places that removed `Mockito`? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org