A couple modifications to AuthSourceTest and UserTest. See details.
1. refactor some tests in auth source test, this test is incompleted, cause self.authenticate use authenticate which is not implemented yet. 2. Almost finished, try_to_login method, but uses the auth source authenticate, so I can't move forward.
A couple modifications to AuthSourceTest and UserTest. See details.
1. refactor some tests in auth source test, this test is incompleted, cause self.authenticate use authenticate which is not implemented yet.
2. Almost finished, try_to_login method, but uses the auth source authenticate, so I can't move forward.