Browse Source

fix(api): fixes wrong test data

Nils Wisiol 6 years ago
parent
commit
1229550e42
1 changed files with 1 additions and 1 deletions
  1. 1 1
      api/desecapi/tests/testrrsets.py

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

@@ -230,7 +230,7 @@ class AuthenticatedRRSetTestCase(DomainOwnerTestCase):
             response = self.client.post_rr_set(self.my_empty_domain.name, **data)
             self.assertStatus(response, status.HTTP_201_CREATED)
 
-        data['records'][0] = ['3.2.2.1']
+        data['records'][0] = '3.2.2.1'
         response = self.client.post_rr_set(self.my_empty_domain.name, **data)
         self.assertStatus(response, status.HTTP_409_CONFLICT)