Skip to content

Commit

Permalink
fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
djelusic committed Feb 28, 2022
1 parent b4296a6 commit a4935a9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions domain/workspace_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ func TestUID(t *testing.T) {

func TestNodeAuthToken(t *testing.T) {
var w Workspace
a, err := w.NewNode("first", "accountID", "region", "bucket", "path", "vTest")
a, err := w.NewNode("first", "accountID", "region", "bucket", "path", "vTest", false)
require.NoError(t, err)

token, err := a.AuthToken()
Expand Down Expand Up @@ -145,15 +145,15 @@ func TestWorkspaceRemoveNode(t *testing.T) {

func TestNodeResources(t *testing.T) {
var w Workspace
a, err := w.NewNode("first", "accountID", "region", "bucket", "path", "vTest")
a, err := w.NewNode("first", "accountID", "region", "bucket", "path", "vTest", false)
require.NoError(t, err)

require.Len(t, a.Resources(), 8)
}

func TestNodeAuthEnv(t *testing.T) {
var w Workspace
a, err := w.NewNode("first", "accountID", "region", "bucket", "path", "vTest")
a, err := w.NewNode("first", "accountID", "region", "bucket", "path", "vTest", false)
require.NoError(t, err)

authEnv := a.AuthEnv()
Expand Down

0 comments on commit a4935a9

Please sign in to comment.