Skip to content

Commit

Permalink
Finally make the assertion correct
Browse files Browse the repository at this point in the history
  • Loading branch information
rzvoncek committed Oct 28, 2024
1 parent 479a4b4 commit c68678f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import com.fasterxml.jackson.databind.node.JsonNodeFactory
import com.fasterxml.jackson.dataformat.yaml.YAMLFactory
import org.assertj.core.api.Assertions
import org.junit.Assert.assertTrue
import org.junit.Assert.assertFalse
import org.junit.Before
import org.junit.Test
import java.io.File
Expand Down Expand Up @@ -60,6 +61,6 @@ internal class YamlConfigTest {
yamlFile = openYamlFile("/helpers/rowCacheDisabled.yaml")
cassandraYaml = CassandraYaml(yamlFile)
// this should fail but the Assertions are somehow not effective
assertTrue(cassandraYaml.isRowCacheEnabled())
assertFalse(cassandraYaml.isRowCacheEnabled())
}
}

0 comments on commit c68678f

Please sign in to comment.