forked from urdt/ussd
move into testtag package
This commit is contained in:
parent
f3a5178de7
commit
eaac771722
12
internal/testutil/testtag/offlinetest.go
Normal file
12
internal/testutil/testtag/offlinetest.go
Normal file
@ -0,0 +1,12 @@
|
||||
// +build !online
|
||||
|
||||
package testtag
|
||||
|
||||
import (
|
||||
"git.grassecon.net/urdt/ussd/internal/handlers/server"
|
||||
accountservice "git.grassecon.net/urdt/ussd/internal/testutil/testservice"
|
||||
)
|
||||
|
||||
var (
|
||||
AccountService server.AccountServiceInterface = &accountservice.TestAccountService{}
|
||||
)
|
9
internal/testutil/testtag/onlinetest.go
Normal file
9
internal/testutil/testtag/onlinetest.go
Normal file
@ -0,0 +1,9 @@
|
||||
// +build online
|
||||
|
||||
package testtag
|
||||
|
||||
import "git.grassecon.net/urdt/ussd/internal/handlers/server"
|
||||
|
||||
var (
|
||||
AccountService server.AccountServiceInterface
|
||||
)
|
Loading…
Reference in New Issue
Block a user