Skip to content

Commit 925b355

Browse files
committed
1203: Fixed test
1 parent 29ec4c7 commit 925b355

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138
"vendor/bin/phpunit --stop-on-failure"
139139
],
140140
"test-setup": [
141-
"bin/console cache:clear --env=test --no-debug",
141+
"bin/console --env=test cache:clear --no-debug",
142142
"bin/console --env=test doctrine:database:drop --if-exists --force --quiet",
143143
"bin/console --env=test doctrine:database:create --no-interaction --if-not-exists --quiet",
144144
"bin/console --env=test doctrine:migrations:migrate --no-interaction --quiet"

tests/Feed/NotifiedFeedTypeTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ public function testGetFeed(): void
4848
$response->method('toArray')->willReturn(
4949
NotifiedFeedTypeData::getData()
5050
);
51+
$response->method('getStatusCode')->willReturn(200);
5152

5253
$httpClientMock->method('request')->willReturn($response);
5354

0 commit comments

Comments
 (0)