Skip to content

Commit

Permalink
Also update Mockito to the latest
Browse files Browse the repository at this point in the history
  • Loading branch information
emartynov committed Feb 4, 2018
1 parent a9caeed commit cb9cf9b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package org.glucosio.android;

import android.support.annotation.NonNull;

import org.glucosio.android.db.DatabaseHandler;
import org.glucosio.android.db.User;
import org.glucosio.android.db.UserBuilder;
Expand Down Expand Up @@ -74,7 +75,6 @@ public void ShouldSaveLanguageClearedToPreferences_WhenItIsDone() {
@Test
public void ShouldNotClearLanguage_WhenAlreadyDone() {
user.setPreferred_language("en");
when(preferencesMock.isLocaleCleaned()).thenReturn(true);

application.onCreate();

Expand Down
2 changes: 1 addition & 1 deletion dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ ext.versions = ['gradle' : '4.5',
'playServices' : '11.8.0',

'assertJAndroid' : '1.2.0',
'mockito' : '1.10.19',
'mockito' : '2.13.0',
'robolectric' : '3.6.1',

'espresso' : '3.0.1',
Expand Down

0 comments on commit cb9cf9b

Please sign in to comment.