Closed samsonasik closed 3 years ago
You need to assign the file to the user. E.g.
model('FileModel')->addToUser($file->id, $user->id)
See also FilesTestCase::createUserWithFiles()
@MGatner Thank you, it fixed now.
implemented:
~ UserTest.php
Is this ready to merge? Or are you planning to add more to it?
it is ready, if you think it need more check, just let me know
I think this is good for now. We will need to get into permissions but that might be its own suite.
@MGatner It currently got the following error:
any suggestion?