Refactor internal/server/user package structure

Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com>
This commit is contained in:
pancho horrillo
2019-10-08 17:22:09 +02:00
parent 6df4369358
commit e0dd6f5dd5
6 changed files with 25 additions and 12 deletions
+14
View File
@@ -0,0 +1,14 @@
package user
import (
"reflect"
"testing"
"github.com/BBVA/kapow/internal/server/user/state"
)
func TestPackageHaveASingletonEmptyRouteList(t *testing.T) {
if !reflect.DeepEqual(Routes, state.New()) {
t.Error("Routes is not an empty safeRouteList")
}
}