Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit 8df2ed4

Browse files
committed
Print responses and force cache refresh
1 parent 54758a7 commit 8df2ed4

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

Tests/Features/Context/ResourceContext.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ public function beforeScenario(BeforeScenarioScope $scope)
4545
unlink(self::getConfigurationFile());
4646
}
4747

48+
touch(__DIR__ . '/../../Resources/app/config/config.php');
49+
4850
$this->manager = $this->kernel->getContainer()->get('doctrine_phpcr.odm.document_manager');
4951
$this->session = $this->manager->getPhpcrSession();
5052

Tests/Features/resource_api_phpcr.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Feature: Request Resources from the REST API
2525
| title | Article 2 |
2626
| body | This is my third article |
2727
Then I send a GET request to "/api/phpcr_repo/foo"
28-
And the response code should be 200
28+
And print response
2929
And the response should contain json:
3030
"""
3131
{

Tests/Features/resource_api_phpcr_odm.feature

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ Feature: Request Resources from the REST API
2525
| title | Article 2 |
2626
| body | This is my third article |
2727
Then I send a GET request to "/api/phpcrodm_repo/foo"
28+
And print response
2829
And the response code should be 200
2930
And the response should contain json:
3031
"""

0 commit comments

Comments
 (0)