diff options
Diffstat (limited to 'models/user_test.go')
-rw-r--r-- | models/user_test.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/models/user_test.go b/models/user_test.go index fa1b0048e1..02b1893c43 100644 --- a/models/user_test.go +++ b/models/user_test.go @@ -199,6 +199,9 @@ func TestDeleteUser(t *testing.T) { test(4) test(8) test(11) + + org := AssertExistsAndLoadBean(t, &User{ID: 3}).(*User) + assert.Error(t, DeleteUser(org)) } func TestEmailNotificationPreferences(t *testing.T) { |