Browse Source

[2066] Fix lettuce

The fix that allowed resolver to have TSIG keys and other future checks
made the setting of action impossible. This will work once again when
we merge #2184, but for now, we need the fix.
Michal 'vorner' Vaner 12 years ago
parent
commit
d1ee05cf0b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tests/lettuce/features/resolver_basic.feature

+ 2 - 2
tests/lettuce/features/resolver_basic.feature

@@ -27,10 +27,10 @@ Feature: Basic Resolver
         A query for l.root-servers.net. should have rcode REFUSED
 
         # Test whether acl ACCEPT works
-        When I set bind10 configuration Resolver/query_acl[0]/action to ACCEPT
+        When I set bind10 configuration Resolver/query_acl[0] to {"action": "ACCEPT", "from": "127.0.0.1"}
         # This address is currently hardcoded, so shouldn't cause outside traffic
         A query for l.root-servers.net. should have rcode NOERROR
 
         # Check whether setting the ACL to reject again works
-        When I set bind10 configuration Resolver/query_acl[0]/action to REJECT
+        When I set bind10 configuration Resolver/query_acl[0] to {"action": "REJECT", "from": "127.0.0.1"}
         A query for l.root-servers.net. should have rcode REFUSED