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 4eba14bc76f854575fde14641d03c2b5022b59a3
Author: Dewayne Richardson <dewr...@apache.org>
AuthorDate: Thu Feb 22 14:40:13 2018 -0700

    fixed test case to use Creator instead of Inserter
---
 traffic_ops/traffic_ops_golang/region/regions_test.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/traffic_ops/traffic_ops_golang/region/regions_test.go 
b/traffic_ops/traffic_ops_golang/region/regions_test.go
index aa41fa5..0a9f28f 100644
--- a/traffic_ops/traffic_ops_golang/region/regions_test.go
+++ b/traffic_ops/traffic_ops_golang/region/regions_test.go
@@ -90,8 +90,8 @@ func TestInterfaces(t *testing.T) {
        var i interface{}
        i = &TORegion{}
 
-       if _, ok := i.(api.Inserter); !ok {
-               t.Errorf("Region must be Inserter")
+       if _, ok := i.(api.Creator); !ok {
+               t.Errorf("Region must be Creator")
        }
        if _, ok := i.(api.Reader); !ok {
                t.Errorf("Region must be Reader")

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

Reply via email to