diff --git a/lib/data/dbfs/dbfs_test.v b/lib/data/dbfs/dbfs_test.v index 620e2239..ddf686b2 100644 --- a/lib/data/dbfs/dbfs_test.v +++ b/lib/data/dbfs/dbfs_test.v @@ -35,8 +35,6 @@ fn test_dbfs3() { withkeys: true keyshashed: true )! - - panic('need other test') } fn dotest(mut db DB, mut dbcollection DBCollection) ! { diff --git a/lib/data/dbfs/namedb_test.v b/lib/data/dbfs/namedb_test.v index bea83f95..fda5fcbf 100644 --- a/lib/data/dbfs/namedb_test.v +++ b/lib/data/dbfs/namedb_test.v @@ -44,8 +44,8 @@ fn test_dbname1() { // Retrieve public keys using their unique IDs console.print_debug('retrieve starts') for i2, myid in ids { - retrieved_pubkey, data := ndb.get(myid)! - myid_found, data_found := ndb.getdata(retrieved_pubkey)! + retrieved_pubkey, data := ndb.get_from_id(myid)! + myid_found, data_found := ndb.get(retrieved_pubkey)! assert myid_found == myid assert data_found == data tc := test_cases[i2] or {