Skip to content

Commit a7294f2

Browse files
committed
Add priority to collaborator
1 parent 22f7c0d commit a7294f2

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

spec/Runner/CollaboratorMaintainerSpec.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,8 @@ function it_should_support_any_example_node(ExampleNode $example)
1919
$this->supports($example)->shouldReturn(true);
2020
}
2121

22-
22+
function it_has_higher_priority_than_current_collaborator_maintainer()
23+
{
24+
$this->getPriority()->shouldReturn(49);
25+
}
2326
}

src/Runner/CollaboratorMaintainer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@ public function teardown(
3737

3838
public function getPriority()
3939
{
40-
// TODO: Implement getPriority() method.
40+
return 49;
4141
}
4242
}

0 commit comments

Comments
 (0)