Skip to content

Commit

Permalink
update test to reflect new error
Browse files Browse the repository at this point in the history
  • Loading branch information
drewbailey committed Jul 21, 2020
1 parent 9e9f7c2 commit 457371d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nomad/job_endpoint_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1535,7 +1535,7 @@ func TestJobEndpoint_Register_Vault_MultiNamespaces(t *testing.T) {
err := msgpackrpc.CallWithCodec(codec, "Job.Register", req, &resp)
// OSS or Ent check
if s1.EnterpriseState.Features() == 0 {
require.Contains(t, err.Error(), "multiple vault namespaces requries nomad enterprise")
require.Contains(t, err.Error(), "multiple vault namespaces requries Nomad Enterprise")
} else {
require.NoError(t, err)
}
Expand Down

0 comments on commit 457371d

Please sign in to comment.