✨ Add initial share commandline handling
This commit is contained in:
+1
-1
@@ -220,7 +220,7 @@ func TestStoreShareHandling(t *testing.T) {
|
||||
}
|
||||
|
||||
t.Run("cannot add login if user doesn't exist", func(t *testing.T) {
|
||||
if err := store.AddLogin(share3, user1.Username, Login{"foo", ""}); err == nil {
|
||||
if err := store.AddLogin(share3, user1.Username, Login{"foo", "", false}); err == nil {
|
||||
t.Errorf("an error should have been returned")
|
||||
} else if err != ErrUserNotFound {
|
||||
t.Errorf("wrong error has been returned: %v", err)
|
||||
|
||||
Reference in New Issue
Block a user