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 2016/11/21 19:05:28 UTC

[13/40] incubator-trafficcontrol git commit: realigned the test data

realigned the test data


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

Branch: refs/heads/psql-rebase
Commit: 65358e7dd76281091d799526147c8d953a5cae46
Parents: dc02042
Author: Dewayne Richardson <de...@apache.org>
Authored: Thu Nov 17 15:45:02 2016 -0700
Committer: Dan Kirkwood <da...@gmail.com>
Committed: Mon Nov 21 12:04:09 2016 -0700

----------------------------------------------------------------------
 traffic_ops/app/t/api/1.2/deliveryservice.t | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/65358e7d/traffic_ops/app/t/api/1.2/deliveryservice.t
----------------------------------------------------------------------
diff --git a/traffic_ops/app/t/api/1.2/deliveryservice.t b/traffic_ops/app/t/api/1.2/deliveryservice.t
index 2f10add..4e9e961 100644
--- a/traffic_ops/app/t/api/1.2/deliveryservice.t
+++ b/traffic_ops/app/t/api/1.2/deliveryservice.t
@@ -42,10 +42,10 @@ ok $t->post_ok( '/login', => form => { u => Test::TestHelper::ADMIN_USER, p => T
 
 # It gets existing delivery services
 ok $t->get_ok("/api/1.2/deliveryservices/list")->status_is(200)->or( sub { diag $t->tx->res->content->asset->{content} } )
-		->json_is( "/response/0/xmlId", "test-ds1" )
-		->json_is( "/response/0/logsEnabled", 1 )
+		->json_is( "/response/0/xmlId", "steering-ds1" )
+		->json_is( "/response/0/logsEnabled", 0 )
 		->json_is( "/response/0/ipv6RoutingEnabled", 1 )
-		->json_is( "/response/1/xmlId", "test-ds2" );
+		->json_is( "/response/1/xmlId", "steering-ds2" );
 
 ok $t->get_ok("/api/1.2/deliveryservices/list?logsEnabled=true")->status_is(200)->or( sub { diag $t->tx->res->content->asset->{content} } )
 		->json_is( "/response/0/xmlId", "test-ds1" )
@@ -309,8 +309,8 @@ ok $t->post_ok(
 	'Does the assigned servers return?';
 
 ok $t->get_ok("/api/1.2/deliveryservices.json")->status_is(200)->or( sub { diag $t->tx->res->content->asset->{content} } )
-	->json_is( "/response/0/xmlId", "steering-ds1" )->json_is( "/response/0/logsEnabled", 0 )->json_is( "/response/0/ipv6RoutingEnabled", 1 )
-	->json_is( "/response/1/xmlId", "steering-ds2" );
+	->json_is( "/response/0/xmlId", "ds_2" )->json_is( "/response/0/logsEnabled", 0 )->json_is( "/response/0/ipv6RoutingEnabled", 0 )
+	->json_is( "/response/1/xmlId", "ds_3" );
 
 # Count the 'response number'
 my $count_response = sub {