瀏覽代碼

fix(tests): no-op strings

Peter Thomassen 6 年之前
父節點
當前提交
26334e4871
共有 3 個文件被更改,包括 3 次插入3 次删除
  1. 1 1
      api/desecapi/tests/test_rrsets.py
  2. 1 1
      api/desecapi/tests/test_rrsets_bulk.py
  3. 1 1
      test/e2e/spec/api_spec.js

+ 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_}
                 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_}
                 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': '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']},
+                     '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': '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"']},
                                 {'subname': 'c.1', 'records': ['dead::beef'], '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': 'TYPE099', 'records': ['v=spf1 mx -all']},
                             ]