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/incubator-trafficcontrol.git

commit 1916b664cd815c6a7b5b55a28bb3380ecfdcf506
Author: Dewayne Richardson <dewr...@apache.org>
AuthorDate: Tue Feb 20 11:39:18 2018 -0700

    cleaned up test case
---
 traffic_ops/traffic_ops_golang/status/statuses_test.go | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/traffic_ops/traffic_ops_golang/status/statuses_test.go 
b/traffic_ops/traffic_ops_golang/status/statuses_test.go
index 9c12806..a7c0f24 100644
--- a/traffic_ops/traffic_ops_golang/status/statuses_test.go
+++ b/traffic_ops/traffic_ops_golang/status/statuses_test.go
@@ -76,12 +76,12 @@ func TestReadStatuses(t *testing.T) {
        mock.ExpectQuery("SELECT").WillReturnRows(rows)
        v := map[string]string{"dsId": "1"}
 
-       servers, errs, _ := refType.Read(db, v, auth.CurrentUser{})
+       statuses, errs, _ := refType.Read(db, v, auth.CurrentUser{})
        if len(errs) > 0 {
-               t.Errorf("cdn.Read expected: no errors, actual: %v", errs)
+               t.Errorf("status.Read expected: no errors, actual: %v", errs)
        }
 
-       if len(servers) != 2 {
-               t.Errorf("cdn.Read expected: len(servers) == 2, actual: %v", 
len(servers))
+       if len(statuses) != 2 {
+               t.Errorf("status.Read expected: len(statuses) == 2, actual: 
%v", len(statuses))
        }
 }

-- 
To stop receiving notification emails like this one, please contact
dang...@apache.org.

Reply via email to