menu-traversal-v2 #115
11
internal/testutil/offlinetest.go
Normal file
11
internal/testutil/offlinetest.go
Normal file
@ -0,0 +1,11 @@
|
||||
// +build !online
|
||||
|
||||
package testutil
|
||||
|
||||
import (
|
||||
"git.grassecon.net/urdt/ussd/internal/handlers/server"
|
||||
)
|
||||
|
||||
var (
|
||||
AccountService server.AccountServiceInterface = &server.TestAccountService{}
|
||||
)
|
9
internal/testutil/onlinetest.go
Normal file
9
internal/testutil/onlinetest.go
Normal file
@ -0,0 +1,9 @@
|
||||
// +build online
|
||||
|
||||
package testutil
|
||||
|
||||
import "git.grassecon.net/urdt/ussd/internal/handlers/server"
|
||||
|
||||
var (
|
||||
AccountService server.AccountServiceInterface
|
||||
)
|
Loading…
Reference in New Issue
Block a user