Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
John-Lin committed Aug 30, 2018
1 parent dfb7742 commit 59b7e94
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/serviceprovider/default_admin_test.go
Original file line number Diff line number Diff line change
@@ -1 +1,14 @@
package serviceprovider

import (
"testing"

"github.com/linkernetworks/vortex/src/config"
"github.com/stretchr/testify/assert"
)

func TestDefaultUserCreate(t *testing.T) {
cf := config.MustRead("../../config/testing.json")
err := createDefaultUser(cf)
assert.NoError(t, err)
}

0 comments on commit 59b7e94

Please sign in to comment.