gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libeufin] branch master updated: nexus fetch


From: gnunet
Subject: [libeufin] branch master updated: nexus fetch
Date: Wed, 15 Nov 2023 16:25:10 +0100

This is an automated email from the git hooks/post-receive script.

ms pushed a commit to branch master
in repository libeufin.

The following commit(s) were added to refs/heads/master by this push:
     new caf3bfae nexus fetch
caf3bfae is described below

commit caf3bfaed25c450d18ce2b392554638928bc1b11
Author: MS <ms@taler.net>
AuthorDate: Wed Nov 15 16:24:38 2023 +0100

    nexus fetch
    
    db test to detect payments that were already downloaded
---
 nexus/src/test/kotlin/DatabaseTest.kt | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/nexus/src/test/kotlin/DatabaseTest.kt 
b/nexus/src/test/kotlin/DatabaseTest.kt
index b8b12c0e..95bfbbb5 100644
--- a/nexus/src/test/kotlin/DatabaseTest.kt
+++ b/nexus/src/test/kotlin/DatabaseTest.kt
@@ -85,14 +85,14 @@ class IncomingPaymentsTest {
         Random.nextBytes(reservePub)
 
         runBlocking {
+            val inc = genIncPay("reserve-pub")
             // Checking the reserve is not found.
             assertFalse(db.isReservePubFound(reservePub))
-            assertTrue(db.incomingTalerablePaymentCreate(
-                genIncPay("reserve-pub"),
-                reservePub
-            ))
+            assertFalse(db.isIncomingPaymentSeen(inc.bankTransferId))
+            assertTrue(db.incomingTalerablePaymentCreate(inc, reservePub))
             // Checking the reserve is not found.
             assertTrue(db.isReservePubFound(reservePub))
+            assertTrue(db.isIncomingPaymentSeen(inc.bankTransferId))
         }
     }
 }

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]