Fix wrong assertion in soft-delete tests

This commit is contained in:
Christian Beikov 2023-10-20 09:03:51 +02:00
parent 40261547bd
commit 5b5bc30644
1 changed files with 1 additions and 1 deletions

View File

@ -95,6 +95,6 @@ public class ReversedSoftDeleteTests {
assertThat( sqlInspector.getSqlQueries() ).hasSize( 1 );
assertThat( sqlInspector.getSqlQueries().get( 0 ) ).doesNotContainIgnoringCase( "delete " );
assertThat( sqlInspector.getSqlQueries().get( 0 ) ).containsIgnoringCase( "update " );
assertThat( sqlInspector.getSqlQueries().get( 0 ) ).contains( "active='F'", "active=N'F'" );
assertThat( sqlInspector.getSqlQueries().get( 0 ) ).containsAnyOf( "active='F'", "active=N'F'" );
}
}