Chore: Differentiate the ErrOrgNotFound error messages (#64131)
* Better org not found error messages
This commit is contained in:
1 parent
1aadafe7d8
commit
fde96c91c1
6 files changed
+19
-14
No files matched your search
@@ -209,7 +209,7 @@ func TestAdminAPIEndpoint(t *testing.T) {
|
||||
|
||||
respJSON, err := simplejson.NewJson(sc.resp.Body.Bytes())
|
||||
require.NoError(t, err)
|
||||
assert.Equal(t, "organization not found", respJSON.Get("message").MustString())
|
||||
assert.Equal(t, org.ErrOrgNotFound.Error(), respJSON.Get("message").MustString())
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user