summaryrefslogtreecommitdiff
path: root/tests/database.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/database.cpp')
-rw-r--r--tests/database.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/database.cpp b/tests/database.cpp
index 15c117b..070a460 100644
--- a/tests/database.cpp
+++ b/tests/database.cpp
@@ -64,6 +64,10 @@ TEST_CASE("Database")
CHECK(o.col<Database::EncodingIn>() == "ISO-8859-1");
CHECK(o.col<Database::RecordHistoryOptional>().is_set == true);
CHECK(o.col<Database::RecordHistoryOptional>().value == false);
+
+ o.clear();
+ CHECK(o.col<Database::EncodingIn>() == "");
+ CHECK(o.col<Database::Owner>() == "zouzou@example.com");
}
SECTION("Channel options with server default")