aboutsummaryrefslogtreecommitdiff
path: root/gorankusu_test.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2024-02-21 01:51:22 +0700
committerShulhan <ms@kilabit.info>2024-02-21 01:51:34 +0700
commitf08f1c15ff863d2829af8be8ddf392e9241d0f89 (patch)
tree1aa0066384ca66345cb526103c4b39797f30aa18 /gorankusu_test.go
parente8d3716995e9229a61a32894689c379e22475420 (diff)
downloadgorankusu-f08f1c15ff863d2829af8be8ddf392e9241d0f89.tar.xz
all: move reading GORANKUSU_DEV environment to [Environment.IsDevelopment]
Diffstat (limited to 'gorankusu_test.go')
-rw-r--r--gorankusu_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/gorankusu_test.go b/gorankusu_test.go
index 9435acc..15fa669 100644
--- a/gorankusu_test.go
+++ b/gorankusu_test.go
@@ -24,7 +24,7 @@ func TestMain(m *testing.M) {
// Mock crypto [rand.Reader] for predictable HTTP boundary.
rand.Reader = mock.NewRandReader([]byte(`gorankusu`))
- exGorankusu, err = NewExample(``)
+ exGorankusu, err = NewExample(``, false)
if err != nil {
log.Fatal(err)
}