summaryrefslogtreecommitdiffstats
path: root/api4/brand_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'api4/brand_test.go')
-rw-r--r--api4/brand_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/api4/brand_test.go b/api4/brand_test.go
index 6ecb41a83..11a3cbf38 100644
--- a/api4/brand_test.go
+++ b/api4/brand_test.go
@@ -10,7 +10,7 @@ import (
func TestGetBrandImage(t *testing.T) {
th := Setup().InitBasic().InitSystemAdmin()
- defer TearDown()
+ defer th.TearDown()
Client := th.Client
_, resp := Client.GetBrandImage()
@@ -26,7 +26,7 @@ func TestGetBrandImage(t *testing.T) {
func TestUploadBrandImage(t *testing.T) {
th := Setup().InitBasic().InitSystemAdmin()
- defer TearDown()
+ defer th.TearDown()
Client := th.Client
data, err := readTestFile("test.png")