fix testing file

Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/158a9c54
Tree: 
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/158a9c54
Diff: 
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/158a9c54

Branch: refs/heads/master
Commit: 158a9c545d8f9050e77c088086910388c7739c81
Parents: e5a6cea
Author: Derek Gelinas <derek_geli...@cable.comcast.com>
Authored: Wed Apr 12 19:08:47 2017 +0000
Committer: Jeremy Mitchell <mitchell...@gmail.com>
Committed: Wed Apr 12 14:38:44 2017 -0600

----------------------------------------------------------------------
 .../1.2/config_files_apache_traffic_server.t    | 27 ++++++++++----------
 1 file changed, 13 insertions(+), 14 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/158a9c54/traffic_ops/app/t/api/1.2/config_files_apache_traffic_server.t
----------------------------------------------------------------------
diff --git a/traffic_ops/app/t/api/1.2/config_files_apache_traffic_server.t 
b/traffic_ops/app/t/api/1.2/config_files_apache_traffic_server.t
index dea9187..5cd052f 100644
--- a/traffic_ops/app/t/api/1.2/config_files_apache_traffic_server.t
+++ b/traffic_ops/app/t/api/1.2/config_files_apache_traffic_server.t
@@ -44,24 +44,23 @@ ok $t->post_ok( '/login', => form => { u => 
Test::TestHelper::ADMIN_USER, p => T
 ok $t->get_ok("/api/1.2/server/100/configfiles/ats")->status_is(200)->or( sub 
{ diag $t->tx->res->content->asset->{content} } );
 
 # Check server routes
-ok 
$t->get_ok("/api/1.2/server/100/configfiles/ats/12M_facts")->status_is(200)->or(
 sub { diag $t->tx->res->content->asset->{content} } );
-ok 
$t->get_ok("/api/1.2/server/100/configfiles/ats/ip_allow.config")->status_is(200)->or(
 sub { diag $t->tx->res->content->asset->{content} } );
-ok 
$t->get_ok("/api/1.2/server/100/configfiles/ats/crontab_root")->status_is(200)->or(
 sub { diag $t->tx->res->content->asset->{content} } );
-ok 
$t->get_ok("/api/1.2/server/100/configfiles/ats/remap.config")->status_is(200)->or(
 sub { diag $t->tx->res->content->asset->{content} } );
-ok 
$t->get_ok("/api/1.2/server/100/configfiles/ats/parent.config")->status_is(200)->or(
 sub { diag $t->tx->res->content->asset->{content} } );
-ok 
$t->get_ok("/api/1.2/server/100/configfiles/ats/cache.config")->status_is(200)->or(
 sub { diag $t->tx->res->content->asset->{content} } );
-ok 
$t->get_ok("/api/1.2/server/100/configfiles/ats/hosting.config")->status_is(200)->or(
 sub { diag $t->tx->res->content->asset->{content} } );
+ok 
$t->get_ok("/api/1.2/profiles/100/configfiles/ats/12M_facts")->status_is(200)->or(
 sub { diag $t->tx->res->content->asset->{content} } );
+ok 
$t->get_ok("/api/1.2/servers/100/configfiles/ats/ip_allow.config")->status_is(200)->or(
 sub { diag $t->tx->res->content->asset->{content} } );
+ok 
$t->get_ok("/api/1.2/profiles/100/configfiles/ats/remap.config")->status_is(200)->or(
 sub { diag $t->tx->res->content->asset->{content} } );
+ok 
$t->get_ok("/api/1.2/servers/100/configfiles/ats/parent.config")->status_is(200)->or(
 sub { diag $t->tx->res->content->asset->{content} } );
+ok 
$t->get_ok("/api/1.2/profiles/100/configfiles/ats/cache.config")->status_is(200)->or(
 sub { diag $t->tx->res->content->asset->{content} } );
+ok 
$t->get_ok("/api/1.2/servers/100/configfiles/ats/hosting.config")->status_is(200)->or(
 sub { diag $t->tx->res->content->asset->{content} } );
 
 # Check CDN routes
-ok 
$t->get_ok("/api/1.2/cdn/cdn1/configfiles/ats/cacheurl.config")->status_is(200)->or(
 sub { diag $t->tx->res->content->asset->{content} } );
-ok 
$t->get_ok("/api/1.2/cdn/cdn1/configfiles/ats/regex_revalidate.config")->status_is(200)->or(
 sub { diag $t->tx->res->content->asset->{content} } );
+ok 
$t->get_ok("/api/1.2/cdns/cdn1/configfiles/ats/cacheurl.config")->status_is(200)->or(
 sub { diag $t->tx->res->content->asset->{content} } );
+ok 
$t->get_ok("/api/1.2/cdns/cdn1/configfiles/ats/regex_revalidate.config")->status_is(200)->or(
 sub { diag $t->tx->res->content->asset->{content} } );
 
 # Check profile routes
-ok 
$t->get_ok("/api/1.2/profile/100/configfiles/ats/50-ats.rules")->status_is(200)->or(
 sub { diag $t->tx->res->content->asset->{content} } );
-ok 
$t->get_ok("/api/1.2/profile/100/configfiles/ats/drop_qstring.config")->status_is(200)->or(
 sub { diag $t->tx->res->content->asset->{content} } );
-ok 
$t->get_ok("/api/1.2/profile/100/configfiles/ats/volume.config")->status_is(200)->or(
 sub { diag $t->tx->res->content->asset->{content} } );
-ok 
$t->get_ok("/api/1.2/profile/100/configfiles/ats/astats.config")->status_is(200)->or(
 sub { diag $t->tx->res->content->asset->{content} } );
-ok 
$t->get_ok("/api/1.2/profile/100/configfiles/ats/storage.config")->status_is(200)->or(
 sub { diag $t->tx->res->content->asset->{content} } );
+ok 
$t->get_ok("/api/1.2/profiles/100/configfiles/ats/50-ats.rules")->status_is(200)->or(
 sub { diag $t->tx->res->content->asset->{content} } );
+ok 
$t->get_ok("/api/1.2/profiles/100/configfiles/ats/drop_qstring.config")->status_is(200)->or(
 sub { diag $t->tx->res->content->asset->{content} } );
+ok 
$t->get_ok("/api/1.2/profiles/100/configfiles/ats/volume.config")->status_is(200)->or(
 sub { diag $t->tx->res->content->asset->{content} } );
+ok 
$t->get_ok("/api/1.2/profiles/100/configfiles/ats/astats.config")->status_is(200)->or(
 sub { diag $t->tx->res->content->asset->{content} } );
+ok 
$t->get_ok("/api/1.2/profiles/100/configfiles/ats/storage.config")->status_is(200)->or(
 sub { diag $t->tx->res->content->asset->{content} } );
 
 
 # Count the 'response number'

Reply via email to