Page MenuHomePhabricator

ApplicationFactory should create authorizations
Closed, InvalidPublic

Description

The [[ https://github.com/WikipediaLibrary/TWLight/blob/master/TWLight/applications/factories.py#L11 | ApplicationFactory ]] class creates applications for the purposes of testing. Since all of our application creation workflows now also creates authorizations, it makes little sense to not have them created when ApplicationFactory() is called.

Event Timeline

Does ApplicationFactory(status=Partner.SENT) not create authorizations?

Yep, it does. Forgot about the status part