Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"require-dev": {
"phpunit/phpunit": "~10.2",
"innmind/static-analysis": "^1.2.1",
"innmind/black-box": "~5.5",
"innmind/black-box": "~6.5",
"innmind/coding-standard": "~2.0"
},
"bin": ["lab-station"]
Expand Down
6 changes: 3 additions & 3 deletions tests/Trigger/BlackBoxTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public function testDoNothingWhenNotOfExpectedType()
public function testDoNothingWhenTriggerNotEnabled()
{
$this
->forAll(Set\Elements::of(...Activity::cases()))
->forAll(Set::of(...Activity::cases()))
->then(function($type) {
$trigger = new BlackBox(new Iteration);

Expand Down Expand Up @@ -129,7 +129,7 @@ public function testDoNothingWhenTriggerNotEnabled()
public function testTriggerTestsSuiteWhenActivity()
{
$this
->forAll(Set\Elements::of(
->forAll(Set::of(
Activity::sourcesModified,
Activity::proofsModified,
Activity::fixturesModified,
Expand Down Expand Up @@ -244,7 +244,7 @@ public function testTriggerTestsSuiteWhenActivity()
public function testDoesntTriggerWhenNoBlackBoxFile()
{
$this
->forAll(Set\Elements::of(
->forAll(Set::of(
Activity::sourcesModified,
Activity::proofsModified,
Activity::fixturesModified,
Expand Down
2 changes: 1 addition & 1 deletion tests/Trigger/CodingStandardTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ public function testDoNothingWhenTriggerNotEnabled()
public function testTriggerTestsSuiteWhenSourcesModified()
{
$this
->forAll(DataSet\Elements::of(
->forAll(DataSet::of(
Activity::sourcesModified,
Activity::proofsModified,
Activity::testsModified,
Expand Down
6 changes: 3 additions & 3 deletions tests/Trigger/TestsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public function testDoNothingWhenNotOfExpectedType()
public function testDoNothingWhenTriggerNotEnabled()
{
$this
->forAll(Set\Elements::of(...Activity::cases()))
->forAll(Set::of(...Activity::cases()))
->then(function($type) {
$trigger = new Tests(new Iteration);
$os = $this->createMock(OperatingSystem::class);
Expand Down Expand Up @@ -130,7 +130,7 @@ public function testDoNothingWhenTriggerNotEnabled()
public function testTriggerTestsSuiteWhenActivity()
{
$this
->forAll(Set\Elements::of(
->forAll(Set::of(
Activity::sourcesModified,
Activity::testsModified,
Activity::fixturesModified,
Expand Down Expand Up @@ -243,7 +243,7 @@ public function testTriggerTestsSuiteWhenActivity()
public function testDoesntTriggerWhenNoPHPUnitFile()
{
$this
->forAll(Set\Elements::of(
->forAll(Set::of(
Activity::sourcesModified,
Activity::testsModified,
Activity::fixturesModified,
Expand Down
Loading