Skip to content

Commit 5d869be

Browse files
committed
Fix test
1 parent da9c7ea commit 5d869be

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed
File renamed without changes.

tests/Unit/SortManagerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public function itShouldCallCompareToOnOneComparable()
7070
{
7171
$comparable1 = $this->getComparable();
7272
$comparable2 = $this->getComparable();
73-
$comparable1->compareTo($comparable2->reveal())->willReturn(1)->shouldBeCalled();
73+
$comparable2->compareTo($comparable1->reveal())->willReturn(-1)->shouldBeCalled();
7474

7575
$this->sortManager->sortComparable([$comparable1->reveal(), $comparable2->reveal()]);
7676
}

0 commit comments

Comments
 (0)