diff options
Diffstat (limited to 'sonar-db/src/test/java/org/sonar/db/version/ClobColumnDefTest.java')
-rw-r--r-- | sonar-db/src/test/java/org/sonar/db/version/ClobColumnDefTest.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sonar-db/src/test/java/org/sonar/db/version/ClobColumnDefTest.java b/sonar-db/src/test/java/org/sonar/db/version/ClobColumnDefTest.java index 6843b81711a..0479e278698 100644 --- a/sonar-db/src/test/java/org/sonar/db/version/ClobColumnDefTest.java +++ b/sonar-db/src/test/java/org/sonar/db/version/ClobColumnDefTest.java @@ -43,16 +43,18 @@ public class ClobColumnDefTest { public void build_string_column_def() throws Exception { assertThat(underTest.getName()).isEqualTo("issues"); assertThat(underTest.isNullable()).isTrue(); + assertThat(underTest.getDefaultValue()).isNull(); } @Test - public void build_string_column_def_with_default_values() throws Exception { + public void build_string_column_def_with_only_required_attributes() throws Exception { ClobColumnDef def = new ClobColumnDef.Builder() .setColumnName("issues") .build(); assertThat(def.getName()).isEqualTo("issues"); assertThat(def.isNullable()).isTrue(); + assertThat(def.getDefaultValue()).isNull(); } @Test |