Open mamadaliev opened 5 years ago
Hello, @Patreon! Please merge my changes if you think these changes are correct.
1. Optimize imports in PatreonAPITest and PatreonOAuthTest classes.
// from: import org.mockito.Matchers; import org.powermock.api.mockito.PowerMockito; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; // to: import org.mockito.*;
2. Fix assertion to simplify in PatreonAPITest class.
// from: assertEquals(false, campaign.isChargedImmediately()); // to: assertFalse(campaign.isChargedImmediately());
3. Fix property access modifier to private.
// from: PatreonOAuth oauth = ... // to: private PatreonOAuth oauth = ...
4. Remove "Exception" from "testAuthorizationURL" throws list.
// from: public void testAuthorizationURL() throws Exception ... // to: public void testAuthorizationURL() ...
Please do not mark this as spam.
Hello, @Patreon! Please merge my changes if you think these changes are correct.
1. Optimize imports in PatreonAPITest and PatreonOAuthTest classes.
2. Fix assertion to simplify in PatreonAPITest class.
3. Fix property access modifier to private.
4. Remove "Exception" from "testAuthorizationURL" throws list.
Please do not mark this as spam.