You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by da...@apache.org on 2018/07/11 15:12:51 UTC
[trafficcontrol] branch master updated: Fix Coordinate integration
fixture
This is an automated email from the ASF dual-hosted git repository.
dangogh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git
The following commit(s) were added to refs/heads/master by this push:
new 26fe88f Fix Coordinate integration fixture
26fe88f is described below
commit 26fe88ff7167f058c4ef462eb664192b4be83f49
Author: Rawlin Peters <ra...@comcast.com>
AuthorDate: Wed Jul 11 08:57:50 2018 -0600
Fix Coordinate integration fixture
Sort by 'name' rather than 'short_name'.
---
traffic_ops/app/lib/Fixtures/Integration/Coordinate.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/traffic_ops/app/lib/Fixtures/Integration/Coordinate.pm b/traffic_ops/app/lib/Fixtures/Integration/Coordinate.pm
index a51e428..f443fda 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;