From 658fc624c4fa5a8ea75b29fa415cf50146ee61cf Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 9 Jul 2018 10:55:46 +0700 Subject: [PATCH] Fix client unit test --- client_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client_test.go b/client_test.go index 33e5e2b..b2cd5ab 100644 --- a/client_test.go +++ b/client_test.go @@ -12,5 +12,5 @@ func TestDefaultEnvironmentType(t *testing.T) { is := is.New(t) midclient := midtrans.NewClient() - is.Equal(midtrans.Sandbox, midclient.ApiEnvType) + is.Equal(midtrans.Sandbox, midclient.APIEnvType) }