Improve test coverage.

This commit is contained in:
James Cole
2019-08-02 05:25:24 +02:00
parent 4bd8e1b11e
commit fc70afa3ea
23 changed files with 202 additions and 57923 deletions

View File

@@ -73,7 +73,7 @@ class ListLoginsRequest extends SpectreRequest
}
// sort logins by date created:
$sorted = $collection->sortByDesc(
function (Login $login) {
static function (Login $login) {
return $login->getUpdatedAt()->timestamp;
}
);