Skip to content

Commit

Permalink
fix(deps): Update awala-keystore-file to 1.6.1 and poweb to 1.5.26 (#236
Browse files Browse the repository at this point in the history
)
  • Loading branch information
sdsantos authored May 31, 2022
1 parent dc63291 commit 67a3850
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions lib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ dependencies {

// Awala
implementation 'tech.relaycorp:awala:1.65.0'
implementation 'tech.relaycorp:awala-keystore-file:1.6.0'
implementation 'tech.relaycorp:poweb:1.5.24'
testImplementation 'tech.relaycorp:awala-testing:1.5.1'
implementation 'tech.relaycorp:awala-keystore-file:1.6.1'
implementation 'tech.relaycorp:poweb:1.5.26'
testImplementation 'tech.relaycorp:awala-testing:1.5.2'

// Security
implementation 'androidx.security:security-crypto:1.1.0-alpha03'
Expand All @@ -81,7 +81,7 @@ dependencies {
testImplementation 'androidx.test:core:1.4.0'
testImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:$kotlinCoroutinesVersion"
testImplementation 'org.robolectric:robolectric:4.8.1'
testImplementation 'org.mockito:mockito-inline:4.5.1'
testImplementation 'org.mockito:mockito-inline:4.6.0'
testImplementation 'com.nhaarman.mockitokotlin2:mockito-kotlin:2.2.0'
testImplementation 'io.github.hakky54:logcaptor:2.7.10'

Expand All @@ -90,7 +90,7 @@ dependencies {
androidTestImplementation 'androidx.test:rules:1.4.0'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:$kotlinCoroutinesVersion"
androidTestImplementation 'org.mockito:mockito-android:4.5.1'
androidTestImplementation 'org.mockito:mockito-android:4.6.0'
androidTestImplementation("com.nhaarman.mockitokotlin2:mockito-kotlin:2.2.0") {
// Workaround for Android API < 26:
// https://github.com/mockito/mockito/pull/2024
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ internal class OutgoingMessageTest : MockContextTestCase() {

val message = MessageFactory.buildOutgoing(channel)

val differenceSeconds = Duration.between(
val difference = Duration.between(
message.parcel.expiryDate,
message.parcel.creationDate.plusDays(180)
).seconds
assertTrue(abs(differenceSeconds) < 3)
)
assertTrue(abs(difference.toDays()) == 0L)
}

@Test
Expand Down

0 comments on commit 67a3850

Please sign in to comment.