Browse Source

fix(tests): no-op strings

Peter Thomassen 6 years ago
parent
commit
26334e4871

+ 1 - 1
api/desecapi/tests/test_rrsets.py

@@ -99,7 +99,7 @@ class AuthenticatedRRSetTestCase(AuthenticatedRRSetBaseTestCase):
                 {'subname': subname, 'records': ['10 example.com.'], 'ttl': 60, 'type': type_}
                 {'subname': subname, 'records': ['10 example.com.'], 'ttl': 60, 'type': type_}
                 for type_ in self.DEAD_TYPES
                 for type_ in self.DEAD_TYPES
             ] + [
             ] + [
-                {'subname': subname, 'records': ['ns1.desec.io. peter.desec.io. 2584 10800 3600 604800 60'],
+                {'subname': subname, 'records': ['set.an.example. get.desec.io. 2584 10800 3600 604800 60'],
                  'ttl': 60, 'type': type_}
                  'ttl': 60, 'type': type_}
                 for type_ in self.RESTRICTED_TYPES
                 for type_ in self.RESTRICTED_TYPES
             ]:
             ]:

+ 1 - 1
api/desecapi/tests/test_rrsets_bulk.py

@@ -123,7 +123,7 @@ class AuthenticatedRRSetBulkTestCase(AuthenticatedRRSetBaseTestCase):
                     {'subname': 'c.1', 'records': ['dead::beef'], 'type': 'AAAA'},
                     {'subname': 'c.1', 'records': ['dead::beef'], 'type': 'AAAA'},
                     {'subname': 'd.1', 'ttl': 3650, 'type': 'AAAA'},
                     {'subname': 'd.1', 'ttl': 3650, 'type': 'AAAA'},
                     {'subname': 'd.1', 'ttl': 3650, 'type': 'SOA',
                     {'subname': 'd.1', 'ttl': 3650, 'type': 'SOA',
-                     'records': ['ns1.desec.io. peter.desec.io. 2018034419 10800 3600 604800 60']},
+                     'records': ['set.an.example. get.desec.io. 2018034419 10800 3600 604800 60']},
                     {'subname': 'd.1', 'ttl': 3650, 'type': 'OPT', 'records': ['9999']},
                     {'subname': 'd.1', 'ttl': 3650, 'type': 'OPT', 'records': ['9999']},
                     {'subname': 'd.1', 'ttl': 3650, 'type': 'TYPE099', 'records': ['v=spf1 mx -all']},
                     {'subname': 'd.1', 'ttl': 3650, 'type': 'TYPE099', 'records': ['v=spf1 mx -all']},
                 ]
                 ]

+ 1 - 1
test/e2e/spec/api_spec.js

@@ -469,7 +469,7 @@ describe("API v1", function () {
                                 {'ttl': 3640, 'type': 'TXT', 'records': ['"bar"']},
                                 {'ttl': 3640, 'type': 'TXT', 'records': ['"bar"']},
                                 {'subname': 'c.1', 'records': ['dead::beef'], 'type': 'AAAA'},
                                 {'subname': 'c.1', 'records': ['dead::beef'], 'type': 'AAAA'},
                                 {'subname': 'd.1', 'ttl': 3650, 'type': 'AAAA'},
                                 {'subname': 'd.1', 'ttl': 3650, 'type': 'AAAA'},
-                                {'subname': 'd.1', 'ttl': 3650, 'type': 'SOA', 'records': ['ns1.desec.io. peter.desec.io. 2018034419 10800 3600 604800 60']},
+                                {'subname': 'd.1', 'ttl': 3650, 'type': 'SOA', 'records': ['set.an.example. get.desec.io. 2018034419 10800 3600 604800 60']},
                                 {'subname': 'd.1', 'ttl': 3650, 'type': 'OPT', 'records': ['9999']},
                                 {'subname': 'd.1', 'ttl': 3650, 'type': 'OPT', 'records': ['9999']},
                                 {'subname': 'd.1', 'ttl': 3650, 'type': 'TYPE099', 'records': ['v=spf1 mx -all']},
                                 {'subname': 'd.1', 'ttl': 3650, 'type': 'TYPE099', 'records': ['v=spf1 mx -all']},
                             ]
                             ]