Browse Source

[master] Fix invalid zone data in DataSrcClientsBuilderTest.loadZoneSQLite3

Mukund Sivaraman 12 years ago
parent
commit
5d3f0570a2
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/bin/auth/tests/datasrc_clients_builder_unittest.cc

+ 2 - 1
src/bin/auth/tests/datasrc_clients_builder_unittest.cc

@@ -328,7 +328,8 @@ TEST_F(DataSrcClientsBuilderTest,
 {
     // Prepare the database first
     const std::string test_db = TEST_DATA_BUILDDIR "/auth_test.sqlite3.copied";
-    std::stringstream ss("example.org. 3600 IN SOA . . 0 0 0 0 0\n");
+    std::stringstream ss("example.org. 3600 IN SOA . . 0 0 0 0 0\n"
+                         "example.org. 3600 IN NS ns1.example.org.");
     createSQLite3DB(rrclass, Name("example.org"), test_db.c_str(), ss);
     // This describes the data source in the configuration
     const ConstElementPtr config(Element::fromJSON("{"