Skip to content

Commit

Permalink
fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zreigz committed Mar 10, 2023
1 parent c13c3e5 commit 011fce7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/bundle/configuration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func TestConfigureEnvVariables(t *testing.T) {
ctx: map[string]interface{}{},
repo: "test",
envVars: map[string]string{"PLURAL_TEST_TEST_ITEM": "workspace.yaml"},
expectedValue: "apiVersion: \"\"\nkind: \"\"\nmetadata: null\nspec:\n cluster: \"\"\n bucket: \"\"\n project: test\n provider: \"\"\n region: \"\"\n owner: null\n network: null\n bucketPrefix: \"\"\n context: {}\n",
expectedValue: "apiVersion: \"\"\nkind: \"\"\nmetadata: null\nspec:\n cluster: \"\"\n bucket: \"\"\n project: test\n provider: \"\"\n region: \"\"\n sendmetrics: false\n owner: null\n network: null\n bucketPrefix: \"\"\n context: {}\n",
},
}
for _, test := range tests {
Expand Down
2 changes: 2 additions & 0 deletions pkg/scaffold/template/lua_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ test:
metadata: null
spec:
email: [email protected]
id: ""
token: abc
namespacePrefix: test
endpoint: http://example.com
Expand Down Expand Up @@ -154,6 +155,7 @@ test:
metadata: null
spec:
email: [email protected]
id: ""
token: abc
namespacePrefix: test
endpoint: http://example.com
Expand Down

0 comments on commit 011fce7

Please sign in to comment.