Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ammar92 committed Sep 4, 2024
1 parent d5eba80 commit 70fe2d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion boefjes/tests/integration/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def test_cannot_update_static_plugins(self):
self.assertEqual(r.status_code, 404)

response = self.client.get(f"/v1/organisations/{self.org.id}/plugins/dns-records")
self.assertEqual(response.json()["name"], "DnsRecords")
self.assertEqual(response.json()["name"], "DNS records")
self.assertIsNone(response.json()["version"])
self.assertEqual(response.json()["id"], "dns-records")

Expand Down
4 changes: 2 additions & 2 deletions boefjes/tests/integration/test_migration_add_schema_field.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def test_fail_on_wrong_plugin_ids(self):
1,
"dns-records",
None,
"DnsRecords",
"DNS records",
"Fetch the DNS record(s) of a hostname",
"1",
["Hostname"],
Expand Down Expand Up @@ -123,7 +123,7 @@ def test_fail_on_wrong_plugin_ids(self):
1,
"dns-records",
None,
"DnsRecords",
"DNS records",
"Fetch the DNS record(s) of a hostname",
"1",
["Hostname"],
Expand Down

0 comments on commit 70fe2d6

Please sign in to comment.