@@ -54,7 +54,7 @@ public function asNonAdminUserICannotGetACollectionOfBooks(int $expectedCode, st
54
54
self ::assertResponseHeaderSame ('content-type ' , 'application/problem+json; charset=utf-8 ' );
55
55
self ::assertResponseHeaderSame ('link ' , '<http://www.w3.org/ns/hydra/error>; rel="http://www.w3.org/ns/json-ld#error",<http://localhost/docs.jsonld>; rel="http://www.w3.org/ns/hydra/core#apiDocumentation" ' );
56
56
self ::assertJsonContains ([
57
- '@type ' => 'Error ' ,
57
+ '@type ' => 'hydra: Error ' ,
58
58
'title ' => 'An error occurred ' ,
59
59
'description ' => $ hydraDescription ,
60
60
]);
@@ -196,7 +196,7 @@ public function asNonAdminUserICannotGetABook(int $expectedCode, string $hydraDe
196
196
self ::assertResponseHeaderSame ('content-type ' , 'application/problem+json; charset=utf-8 ' );
197
197
self ::assertResponseHeaderSame ('link ' , '<http://www.w3.org/ns/hydra/error>; rel="http://www.w3.org/ns/json-ld#error",<http://localhost/docs.jsonld>; rel="http://www.w3.org/ns/hydra/core#apiDocumentation" ' );
198
198
self ::assertJsonContains ([
199
- '@type ' => 'Error ' ,
199
+ '@type ' => 'hydra: Error ' ,
200
200
'title ' => 'An error occurred ' ,
201
201
'description ' => $ hydraDescription ,
202
202
]);
@@ -254,7 +254,7 @@ public function asNonAdminUserICannotCreateABook(int $expectedCode, string $hydr
254
254
self ::assertResponseHeaderSame ('content-type ' , 'application/problem+json; charset=utf-8 ' );
255
255
self ::assertResponseHeaderSame ('link ' , '<http://www.w3.org/ns/hydra/error>; rel="http://www.w3.org/ns/json-ld#error",<http://localhost/docs.jsonld>; rel="http://www.w3.org/ns/hydra/core#apiDocumentation" ' );
256
256
self ::assertJsonContains ([
257
- '@type ' => 'Error ' ,
257
+ '@type ' => 'hydra: Error ' ,
258
258
'title ' => 'An error occurred ' ,
259
259
'description ' => $ hydraDescription ,
260
260
]);
@@ -442,7 +442,7 @@ public function asNonAdminUserICannotUpdateBook(int $expectedCode, string $hydra
442
442
self ::assertResponseHeaderSame ('content-type ' , 'application/problem+json; charset=utf-8 ' );
443
443
self ::assertResponseHeaderSame ('link ' , '<http://www.w3.org/ns/hydra/error>; rel="http://www.w3.org/ns/json-ld#error",<http://localhost/docs.jsonld>; rel="http://www.w3.org/ns/hydra/core#apiDocumentation" ' );
444
444
self ::assertJsonContains ([
445
- '@type ' => 'Error ' ,
445
+ '@type ' => 'hydra: Error ' ,
446
446
'title ' => 'An error occurred ' ,
447
447
'description ' => $ hydraDescription ,
448
448
]);
@@ -570,7 +570,7 @@ public function asNonAdminUserICannotDeleteABook(int $expectedCode, string $hydr
570
570
self ::assertResponseHeaderSame ('content-type ' , 'application/problem+json; charset=utf-8 ' );
571
571
self ::assertResponseHeaderSame ('link ' , '<http://www.w3.org/ns/hydra/error>; rel="http://www.w3.org/ns/json-ld#error",<http://localhost/docs.jsonld>; rel="http://www.w3.org/ns/hydra/core#apiDocumentation" ' );
572
572
self ::assertJsonContains ([
573
- '@type ' => 'Error ' ,
573
+ '@type ' => 'hydra: Error ' ,
574
574
'title ' => 'An error occurred ' ,
575
575
'description ' => $ hydraDescription ,
576
576
]);
0 commit comments