Skip to content

Commit

Permalink
Run InteractionTest in separate process, so that time() can be mocked…
Browse files Browse the repository at this point in the history
… safely
  • Loading branch information
foglcz committed Nov 27, 2017
1 parent 70f13bb commit cfe1688
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/Model/Command/InteractionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public function initTimeMock(): void
/**
* @test
* @dataProvider provideConstructorName
* @runInSeparateProcess so that time() can be mocked safely
*/
public function shouldBeInstantiableViaNamedConstructors(
string $constructorName,
Expand Down

0 comments on commit cfe1688

Please sign in to comment.