ICU-738/Refactor internal/db to domain errors (#815)
* Refactor internal/db to domain errors
This commit is contained in:
1 parent
b5d84495a3
commit
bfbb179741
82 files changed
+742
-640
No files matched your search
@@ -213,7 +213,7 @@ func TestSession_Delete(t *testing.T) {
|
||||
foundSession.PublicId = tt.session.PublicId
|
||||
err = rw.LookupById(context.Background(), &foundSession)
|
||||
require.Error(err)
|
||||
assert.True(errors.Is(errors.ErrRecordNotFound, err))
|
||||
assert.True(errors.IsNotFoundError(err))
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user