since we have created an endpoint, need to iterate on this endpoint_id here

This commit is contained in:
Hossein Shafagh 2021-03-04 19:13:40 -08:00
parent 8e5e8fdd03
commit c579405805
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ def test_rotate_certificate(client, source_plugin):
)
def test_endpoint_get(client, token, status):
assert (
client.get(api.url_for(Endpoints, endpoint_id=1), headers=token).status_code
client.get(api.url_for(Endpoints, endpoint_id=2), headers=token).status_code
== status
)