You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2022/05/19 07:58:33 UTC

[GitHub] [flink] snuyanzin commented on a diff in pull request #19761: [FLINK-27185][connectors] Convert connector-cassandra module to assertj

snuyanzin commented on code in PR #19761:
URL: https://github.com/apache/flink/pull/19761#discussion_r876731993


##########
flink-connectors/flink-connector-cassandra/src/test/java/org/apache/flink/streaming/connectors/cassandra/CassandraConnectorITCase.java:
##########
@@ -412,7 +410,7 @@ public void testAnnotatePojoWithTable() {
 
         final Class<? extends Pojo> annotatedPojoClass = annotatePojoWithTable(KEYSPACE, tableName);
         final Table pojoTableAnnotation = annotatedPojoClass.getAnnotation(Table.class);
-        assertTrue(pojoTableAnnotation.name().contains(tableName));
+        assertThat(pojoTableAnnotation.name().contains(tableName)).isTrue();

Review Comment:
   ```suggestion
           assertThat(pojoTableAnnotation.name()).contains(tableName);
   ```



-- 
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-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org