We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da9c7ea commit 5d869beCopy full SHA for 5d869be
.travis-ci.yml renamed to .travis.yml
tests/Unit/SortManagerTest.php
@@ -70,7 +70,7 @@ public function itShouldCallCompareToOnOneComparable()
70
{
71
$comparable1 = $this->getComparable();
72
$comparable2 = $this->getComparable();
73
- $comparable1->compareTo($comparable2->reveal())->willReturn(1)->shouldBeCalled();
+ $comparable2->compareTo($comparable1->reveal())->willReturn(-1)->shouldBeCalled();
74
75
$this->sortManager->sortComparable([$comparable1->reveal(), $comparable2->reveal()]);
76
}
0 commit comments