Skip to content

Commit

Permalink
variable set variable test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rexredinger committed Mar 21, 2022
1 parent ddf76d7 commit 566ce6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions variable_set_variable_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ func TestVariableSetVariablesUpdate(t *testing.T) {

t.Run("with invalid variable ID", func(t *testing.T) {
_, err := client.VariableSetVariables.Update(ctx, vsTest.ID, badIdentifier, nil)
assert.EqualError(t, err, ErrInvalidVariableSetID.Error())
assert.EqualError(t, err, ErrInvalidVariableID.Error())
})
}

Expand All @@ -339,7 +339,7 @@ func TestVariableSetVariablesDelete(t *testing.T) {

t.Run("with non existing variable ID", func(t *testing.T) {
err := client.VariableSetVariables.Delete(ctx, vsTest.ID, "nonexisting")
assert.Equal(t, err, ErrResourceNotFound.Error())
assert.EqualError(t, err, ErrResourceNotFound.Error())
})

t.Run("with invalid workspace ID", func(t *testing.T) {
Expand Down

0 comments on commit 566ce6f

Please sign in to comment.