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 2017/01/10 03:38:24 UTC

[12/50] 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/33d12055
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/33d12055
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/33d12055

Branch: refs/heads/master
Commit: 33d1205537407f2763eb2f1e2b5bb8d04fcb8b8d
Parents: b5831f4
Author: David Neuman <da...@gmail.com>
Authored: Wed Nov 30 10:19:50 2016 -0700
Committer: Dan Kirkwood <da...@gmail.com>
Committed: Sun Jan 8 21:04:59 2017 -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/33d12055/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\"")
 		}