Browse Source

[1607] update the auqh query mock finder for the API change.
also removed debug output.

JINMEI Tatuya 13 years ago
parent
commit
29fab3811a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/bin/auth/tests/query_unittest.cc

+ 2 - 2
src/bin/auth/tests/query_unittest.cc

@@ -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) +