Remove warning in test
Fix an url in test
Correct foreign key in factory
Missing \n
Url update in tests
Move stupid \n
Fix basic document factory
Fix favorite tests
Factory for documents
Use test metadata for category factories
Create dummy metadata classes for tests

Please note that this was commited on a friday at 18h11.