From b1bf8b4db5169c674b15e68bc862c3d72a6c9185 Mon Sep 17 00:00:00 2001 From: Will Norris Date: Thu, 10 Apr 2014 18:47:46 -0700 Subject: [PATCH] add auth check to TestRepositories_CRUD --- tests/integration/repos_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/integration/repos_test.go b/tests/integration/repos_test.go index d07612d..42634c9 100644 --- a/tests/integration/repos_test.go +++ b/tests/integration/repos_test.go @@ -15,6 +15,10 @@ import ( ) func TestRepositories_CRUD(t *testing.T) { + if !checkAuth("TestRepositories_CRUD") { + return + } + // get authenticated user me, _, err := client.Users.Get("") if err != nil {