rsa13: rename type-evenement endpoint to typeevenement (#86918)
gitea/passerelle/pipeline/head This commit looks good Details

This commit is contained in:
Benjamin Dauvergne 2024-02-13 15:55:44 +01:00
parent 2842439ce1
commit 7c9e487482
2 changed files with 2 additions and 2 deletions

View File

@ -2013,7 +2013,7 @@ class RSA13Resource(BaseResource, HTTPResource):
),
)
def type_evenement(self, request, email, ip=None):
return self.get('type-evenement/', email=email, ip=ip)
return self.get('typeevenement/', email=email, ip=ip)
@endpoint(
name='platform',

View File

@ -1392,7 +1392,7 @@ TYPE_EVENEMENT = {
}
@mock_response(['/api/type-evenement/', TYPE_EVENEMENT])
@mock_response(['/api/typeevenement/', TYPE_EVENEMENT])
def test_type_evenement(app, rsa13, url):
response = app.get(url + 'type-evenement/')
assert response.json == TYPE_EVENEMENT