dangogh closed pull request #2530: Fix Coordinate integration fixture
URL: https://github.com/apache/trafficcontrol/pull/2530
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/traffic_ops/app/lib/Fixtures/Integration/Coordinate.pm 
b/traffic_ops/app/lib/Fixtures/Integration/Coordinate.pm
index a51e428c7..f443fdaf6 100644
--- a/traffic_ops/app/lib/Fixtures/Integration/Coordinate.pm
+++ b/traffic_ops/app/lib/Fixtures/Integration/Coordinate.pm
@@ -147,7 +147,7 @@ sub get_definition {
 
 sub all_fixture_names {
        # sort by db short_name to guarantee insertion order
-       return (sort { $definition_for{$a}{using}{short_name} cmp 
$definition_for{$b}{using}{short_name} } keys %definition_for);
+       return (sort { $definition_for{$a}{using}{name} cmp 
$definition_for{$b}{using}{name} } keys %definition_for);
 }
 
 __PACKAGE__->meta->make_immutable;


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to