Skip to content

Commit

Permalink
sort sharees in test
Browse files Browse the repository at this point in the history
  • Loading branch information
icewind1991 committed Nov 9, 2023
1 parent 7b20544 commit 4dfc955
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/Sabre/CalDAV/Backend/AbstractPDOTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1281,6 +1281,9 @@ public function testUpdateInvites()
],
]),
];
usort($result, function(Sharee $sharee1, Sharee $sharee2) {
return strcmp($sharee1->principal, $sharee2->principal);
});
self::assertEquals($expected, $result);

// Checking calendar_instances too
Expand Down

0 comments on commit 4dfc955

Please sign in to comment.