Skip to content

Commit 08fdd0b

Browse files
committed
fix
1 parent 89c5517 commit 08fdd0b

2 files changed

Lines changed: 21 additions & 1 deletion

File tree

features/main/crud_uri_variables.feature

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,16 @@ Feature: Uri Variables
3131
"hydra:method": "GET",
3232
"hydra:title": "getCompany",
3333
"returns": "Company"
34+
},
35+
{
36+
"@type": [
37+
"hydra:Operation",
38+
"schema:FindAction"
39+
],
40+
"hydra:description": "Retrieves a Company resource.",
41+
"hydra:method": "GET",
42+
"hydra:title": "getCompany",
43+
"returns": "owl:Nothing"
3444
}
3545
],
3646
"id": 1,
@@ -194,6 +204,16 @@ Feature: Uri Variables
194204
"hydra:method": "GET",
195205
"hydra:title": "getCompany",
196206
"returns": "Company"
207+
},
208+
{
209+
"@type": [
210+
"hydra:Operation",
211+
"schema:FindAction"
212+
],
213+
"hydra:description": "Retrieves a Company resource.",
214+
"hydra:method": "GET",
215+
"hydra:title": "getCompany",
216+
"returns": "owl:Nothing"
197217
}
198218
],
199219
"id": 1,

tests/Behat/MercureContext.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public function mercureUpdateShouldHaveData(int $index, PyStringNode $data): voi
103103
}
104104
/** @var Update $update */
105105
$update = $updates[$index - 1];
106-
106+
107107
$expectedData = json_decode($data->getRaw(), true, 512, \JSON_THROW_ON_ERROR);
108108
$actualData = json_decode($update->getData(), true, 512, \JSON_THROW_ON_ERROR);
109109
Assert::assertEquals($expectedData, $actualData);

0 commit comments

Comments
 (0)