Skip to content

Commit

Permalink
Merge "REST: Add missing Location header test"
Browse files Browse the repository at this point in the history
  • Loading branch information
jenkins-bot authored and Gerrit Code Review committed Oct 22, 2024
2 parents 0f71edb + fc93493 commit b2a61e4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ describe( newCreatePropertyRequestBuilder().getRouteDescription(), () => {
.makeRequest();

expect( response ).to.have.status( 201 );
assert.header( response, 'Location', `${response.request.url}/${response.body.id}` );
assert.deepEqual( response.body.data_type, property.data_type );

const editMetadata = await entityHelper.getLatestEditMetadata( response.body.id );
Expand Down

0 comments on commit b2a61e4

Please sign in to comment.