Fixed updating to new signatures
This commit is contained in:
parent
332c90a9e0
commit
ae56bab18a
|
@ -91,7 +91,7 @@ open class FinTsClientTestBase {
|
||||||
underTest.getAnonymousBankInfo(BankDataAnonymous) { result ->
|
underTest.getAnonymousBankInfo(BankDataAnonymous) { result ->
|
||||||
|
|
||||||
// then
|
// then
|
||||||
expect(result.isSuccessful).isTrue()
|
expect(result.successful).isTrue()
|
||||||
expect(BankDataAnonymous.supportedHbciVersions).isNotEmpty()
|
expect(BankDataAnonymous.supportedHbciVersions).isNotEmpty()
|
||||||
expect(BankDataAnonymous.tanProceduresSupportedByBank).isNotEmpty()
|
expect(BankDataAnonymous.tanProceduresSupportedByBank).isNotEmpty()
|
||||||
expect(BankDataAnonymous.supportedJobs).isNotEmpty()
|
expect(BankDataAnonymous.supportedJobs).isNotEmpty()
|
||||||
|
@ -120,7 +120,7 @@ open class FinTsClientTestBase {
|
||||||
countDownLatch.await(30, TimeUnit.SECONDS)
|
countDownLatch.await(30, TimeUnit.SECONDS)
|
||||||
val result = response.get()
|
val result = response.get()
|
||||||
|
|
||||||
expect(result.isSuccessful).isTrue()
|
expect(result.successful).isTrue()
|
||||||
|
|
||||||
expect(didAskUserForTanProcedure).isFalse()
|
expect(didAskUserForTanProcedure).isFalse()
|
||||||
|
|
||||||
|
@ -166,8 +166,8 @@ open class FinTsClientTestBase {
|
||||||
countDownLatch.await(30, TimeUnit.SECONDS)
|
countDownLatch.await(30, TimeUnit.SECONDS)
|
||||||
val result = response.get()
|
val result = response.get()
|
||||||
|
|
||||||
expect(result.isSuccessful).isTrue()
|
expect(result.successful).isTrue()
|
||||||
expect(result.bookedTransactions).isNotEmpty()
|
expect(result.retrievedData.map { it.bookedTransactions }).isNotEmpty()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -191,7 +191,7 @@ open class FinTsClientTestBase {
|
||||||
underTest.getTanMediaList(Bank, TanMedienArtVersion.Alle, TanMediumKlasse.AlleMedien) { result ->
|
underTest.getTanMediaList(Bank, TanMedienArtVersion.Alle, TanMediumKlasse.AlleMedien) { result ->
|
||||||
|
|
||||||
// then
|
// then
|
||||||
expect(result.isSuccessful).isTrue()
|
expect(result.successful).isTrue()
|
||||||
|
|
||||||
expect(result.tanMediaList).notToBeNull()
|
expect(result.tanMediaList).notToBeNull()
|
||||||
expect(result.tanMediaList!!.usageOption).toBe(TanEinsatzOption.KundeKannGenauEinMediumZuEinerZeitNutzen) // TODO: may adjust to your value
|
expect(result.tanMediaList!!.usageOption).toBe(TanEinsatzOption.KundeKannGenauEinMediumZuEinerZeitNutzen) // TODO: may adjust to your value
|
||||||
|
@ -250,7 +250,7 @@ open class FinTsClientTestBase {
|
||||||
countDownLatch.await(30, TimeUnit.SECONDS)
|
countDownLatch.await(30, TimeUnit.SECONDS)
|
||||||
val result = response.get()
|
val result = response.get()
|
||||||
|
|
||||||
expect(result.isSuccessful).isTrue()
|
expect(result.successful).isTrue()
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue