Initial cloud-services repo - gateway service + pkg modules
This commit is contained in:
16
pkg/redis/pool_test.go
Normal file
16
pkg/redis/pool_test.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package redis
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"fiskerinc.com/modules/testhelper"
|
||||
)
|
||||
|
||||
func TestRedisGetPool(t *testing.T) {
|
||||
MockRedisConnection()
|
||||
p := GetMockPool()
|
||||
|
||||
if p != pool {
|
||||
t.Errorf(testhelper.TestErrorTemplate, "TestRedisGetPool", pool, p)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user