Clean up unnecessary spy context statements
Remove spy context syntax because we do not need to mock context anymore in the test cases. Bug: 117644158 Test: robotests Change-Id: I222eec4fbc1994d7bb79adead40b76ac0a000bdc
This commit is contained in:
@@ -86,7 +86,7 @@ public class WifiCallingSliceHelperTest {
|
||||
@Before
|
||||
public void setUp() {
|
||||
MockitoAnnotations.initMocks(this);
|
||||
mContext = spy(RuntimeEnvironment.application);
|
||||
mContext = RuntimeEnvironment.application;
|
||||
|
||||
//setup for SettingsSliceProvider tests
|
||||
mProvider = spy(new SettingsSliceProvider());
|
||||
|
Reference in New Issue
Block a user