You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by mi...@apache.org on 2016/12/12 20:29:09 UTC

[03/33] incubator-trafficcontrol git commit: update profile test to log correct error for ID

update profile test to log correct error for ID


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

Branch: refs/heads/psql-rebase
Commit: 6a9a211d247503d5f7a61383df4a41f89095a0f2
Parents: 2fd0493
Author: David Neuman <da...@gmail.com>
Authored: Wed Nov 30 10:19:50 2016 -0700
Committer: Dave Neuman <ne...@apache.org>
Committed: Fri Dec 2 15:22:55 2016 -0700

----------------------------------------------------------------------
 traffic_ops/client/tests/profile_test.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/6a9a211d/traffic_ops/client/tests/profile_test.go
----------------------------------------------------------------------
diff --git a/traffic_ops/client/tests/profile_test.go b/traffic_ops/client/tests/profile_test.go
index 7c89897..46ecced 100644
--- a/traffic_ops/client/tests/profile_test.go
+++ b/traffic_ops/client/tests/profile_test.go
@@ -52,7 +52,7 @@ func TestProfile(t *testing.T) {
 
 	for _, p := range profiles {
 		if p.ID != 1 {
-			testHelper.Error(t, "Should get back 1 for \"ID\", got: %s", p.Name)
+			testHelper.Error(t, "Should get back 1 for \"ID\", got: %d", p.ID)
 		} else {
 			testHelper.Success(t, "Should get back 1 for \"ID\"")
 		}