Skip to content

Commit

Permalink
test: Update schema URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Apr 19, 2024
1 parent 7bdf467 commit 5c36099
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/tests/api/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@

class ViewsTests(PelicanTestCase):
def test_openapi(self):
response = self.client.get("/api/openapi")
response = self.client.get("/api/schema/")

self.assertEqual(response.status_code, 200)

def test_swagger_ui(self):
response = self.client.get("/api/swagger-ui/")
response = self.client.get("/api/schema/swagger-ui/")

self.assertEqual(response.status_code, 200)

Expand Down

0 comments on commit 5c36099

Please sign in to comment.