mirror of
https://github.com/cloudreve/cloudreve.git
synced 2025-11-02 03:17:56 +08:00
Test: model.Tags / modifications
This commit is contained in:
@ -136,7 +136,7 @@ func TestGenericAfterUpload(t *testing.T) {
|
||||
mock.NewRows([]string{"name"}),
|
||||
)
|
||||
err = GenericAfterUpload(ctx, &fs)
|
||||
asserts.Equal(ErrPathNotExist, err)
|
||||
asserts.Equal(ErrRootProtected, err)
|
||||
asserts.NoError(mock.ExpectationsWereMet())
|
||||
|
||||
// 文件已存在
|
||||
|
||||
Reference in New Issue
Block a user