diff --git a/paths_issue_account_test.go b/paths_issue_account_test.go index d24ccd5..46e244d 100644 --- a/paths_issue_account_test.go +++ b/paths_issue_account_test.go @@ -361,7 +361,7 @@ func TestAccountBeforeOperatorCreatingSysAccount(t *testing.T) { Data: map[string]interface{}{}, }) assert.NoError(t, err) - assert.False(t, resp.IsError()) + assert.True(t, resp.IsError()) // 1.1b create the account resp, err = b.HandleRequest(context.Background(), &logical.Request{ Operation: logical.CreateOperation, @@ -370,7 +370,7 @@ func TestAccountBeforeOperatorCreatingSysAccount(t *testing.T) { Data: map[string]interface{}{}, }) assert.NoError(t, err) - assert.False(t, resp.IsError()) + assert.True(t, resp.IsError()) // 1.2 list the accounts - ac1 should be present resp, err = b.HandleRequest(context.Background(), &logical.Request{ @@ -555,7 +555,7 @@ func TestAccountBeforeOperatorAndSysAccount(t *testing.T) { Data: map[string]interface{}{}, }) assert.NoError(t, err) - assert.False(t, resp.IsError()) + assert.True(t, resp.IsError()) // 1.2 list the accounts - ac1 should be present resp, err = b.HandleRequest(context.Background(), &logical.Request{ diff --git a/paths_issue_operator_test.go b/paths_issue_operator_test.go index 3748b44..9e118d9 100644 --- a/paths_issue_operator_test.go +++ b/paths_issue_operator_test.go @@ -558,6 +558,6 @@ func TestCRUDOperatorIssue(t *testing.T) { Storage: reqStorage, }) assert.NoError(t, err) - assert.False(t, resp.IsError()) + assert.True(t, resp.IsError()) }) }