Skip to content
Snippets Groups Projects
Commit 667064ed authored by warp's avatar warp
Browse files

Sort by edit ids correctly in Controller::Work::Create test.

parent 996b98e0
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@ use Test::Routine;
use Test::More;
use HTTP::Request::Common;
use MusicBrainz::Server::Test qw( capture_edits html_ok );
use List::UtilsBy qw( sort_by );
use List::UtilsBy qw( nsort_by );
with 't::Mechanize', 't::Context';
......@@ -33,7 +33,7 @@ my @edits = capture_edits {
my $response = $mech->request($request);
} $c;
@edits = sort_by { $_->id } @edits;
@edits = nsort_by { $_->id } @edits;
ok($mech->success);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment