]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[1607] update the auqh query mock finder for the API change.
authorJINMEI Tatuya <jinmei@isc.org>
Fri, 2 Mar 2012 09:20:41 +0000 (01:20 -0800)
committerJINMEI Tatuya <jinmei@isc.org>
Fri, 2 Mar 2012 09:20:41 +0000 (01:20 -0800)
also removed debug output.

src/bin/auth/tests/query_unittest.cc

index d69f9329b512db3c7d0e2a2011a1e3e12e37df83..3c901aa18c8b8a8b865d23ce22bbb7ee719c88fa 100644 (file)
@@ -565,7 +565,8 @@ MockZoneFinder::findAll(const Name& name, std::vector<ConstRRsetPtr>& target,
             }
             return (ZoneFinderContextPtr(
                         new Context(*this, options,
-                                    ResultContext(SUCCESS, RRsetPtr()))));
+                                    ResultContext(SUCCESS, RRsetPtr()),
+                                    target)));
         }
     }
 
@@ -1139,7 +1140,6 @@ TEST_F(QueryTest, secureUnsignedDelegationWithNSEC3OptOut) {
     // proof (and their RRSIGs).  The closest encloser is the apex (origin),
     // and with our faked hash the covering NSEC3 for the next closer
     // (= child zone name) is that for www.example.com.
-    cout << response << endl;
     responseCheck(response, Rcode::NOERROR(), 0, 0, 5, 0,
                   NULL,
                   (string(unsigned_delegation_txt) +