raminqaf commented on code in PR #27302:
URL: https://github.com/apache/flink/pull/27302#discussion_r2584675565
##########
flink-test-utils-parent/flink-table-filesystem-test-utils/src/test/java/org/apache/flink/table/file/testutils/catalog/TestFileSystemCatalogTest.java:
##########
@@ -390,8 +391,7 @@ public void testAlterCatalogMaterializedTable() throws
Exception {
CatalogMaterializedTable actualMaterializedTable =
(CatalogMaterializedTable) actualTable;
// validate refresh status
- assertThat(actualMaterializedTable.getRefreshStatus())
- .isEqualTo(CatalogMaterializedTable.RefreshStatus.ACTIVATED);
+
assertThat(actualMaterializedTable.getRefreshStatus()).isEqualTo(RefreshStatus.ACTIVATED);
Review Comment:
nit: if this is an enum shouldn't we use `isSameAs`?
```suggestion
assertThat(actualMaterializedTable.getRefreshStatus()).isSameAs(RefreshStatus.ACTIVATED);
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]