Jonathan Zernik
dc6cef8cff
Add test for get sent offer by squeak and peer ( #1693 )
2021-10-22 22:20:10 -07:00
Jonathan Zernik
76e1bd29cc
Add test for get sent offer by payment hash missing ( #1692 )
2021-10-22 19:02:04 -07:00
Jonathan Zernik
74222b9a62
Add test for get sent offer by payment hash ( #1691 )
2021-10-22 18:56:07 -07:00
Jonathan Zernik
a14cbb4663
Add test for get sent payment with non existent id ( #1690 )
2021-10-22 18:41:33 -07:00
Jonathan Zernik
a9c97c5df7
Add test for get inserted sent payments ( #1689 )
2021-10-22 18:36:47 -07:00
Jonathan Zernik
cc1a2c0a2b
Add test for get inserted sent payment db method ( #1685 )
2021-10-22 18:03:18 -07:00
Jonathan Zernik
3fc34c8965
Add test for set received offer paid db method ( #1678 )
2021-10-22 17:16:37 -07:00
Jonathan Zernik
faa7a9513a
Add test for delete expired received offers ( #1672 )
2021-10-22 16:01:52 -07:00
Jonathan Zernik
bc8fc125b5
Add test for insert duplicate received offer ( #1668 )
2021-10-22 15:15:16 -07:00
Jonathan Zernik
4af20e7b03
Add test case for get received offer db method when none ( #1667 )
2021-10-22 12:44:25 -07:00
Jonathan Zernik
8b5c651db4
Add test for get received offers db method ( #1666 )
...
* Add test for get received offers db method
* Remove print statements
2021-10-22 12:32:26 -07:00
Jonathan Zernik
ded954fca9
Add test for insert and get received offer db methods ( #1665 )
2021-10-22 10:46:31 -07:00
Jonathan Zernik
695570064b
Add test for delete peer db method ( #1664 )
2021-10-22 10:35:23 -07:00
Jonathan Zernik
baa882056a
Add test for rename peer db method ( #1663 )
2021-10-22 10:27:08 -07:00
Jonathan Zernik
0193647cdf
Add test for get autoconnect peers ( #1662 )
2021-10-22 10:18:18 -07:00
Jonathan Zernik
f437939895
Add tests for get peers db method ( #1659 )
2021-10-19 07:50:07 -07:00
Jonathan Zernik
17ad673a33
Add tests for get peer db method ( #1658 )
2021-10-19 07:16:38 -07:00
Jonathan Zernik
31dbb29fdc
Add test for delete squeak db method ( #1657 )
2021-10-19 06:53:20 -07:00
Jonathan Zernik
1a4e46c439
Add test for set profile image db method ( #1656 )
2021-10-19 06:32:23 -07:00
Jonathan Zernik
0fa9755dea
Simplify profile fixtures for test db ( #1655 )
...
* Simplify and remove fixtures for profile tests in db test
* Delete old comments
2021-10-19 06:16:15 -07:00
Jonathan Zernik
93057f90b4
Add test for delete profile db method ( #1654 )
2021-10-19 06:07:06 -07:00
Jonathan Zernik
aac56d4aa5
Add test for set profile name db method ( #1653 )
2021-10-19 05:58:59 -07:00
Jonathan Zernik
204d5a388e
Add test for profile use custom price db method ( #1652 )
...
* Add test for set profile use custom price field db method
* Add test for set profile custom price field db method
2021-10-19 05:49:30 -07:00
Jonathan Zernik
94b16e03e6
Add test for get profile by name ( #1651 )
2021-10-19 05:07:25 -07:00
Jonathan Zernik
77f89389db
Add test for get profile by addresss db method ( #1650 )
2021-10-19 04:59:33 -07:00
Jonathan Zernik
718cc60e9f
Simplify test for get profile method ( #1649 )
2021-10-19 04:53:00 -07:00
Jonathan Zernik
3646fbb742
Add test for get following profiles db method ( #1647 )
2021-10-19 04:32:14 -07:00
Jonathan Zernik
70fbb9e7db
Add test for get profiles db method ( #1646 )
...
* Add test for get profiles db method
* Add test for get contact profiles db method
2021-10-19 01:34:50 -07:00
Jonathan Zernik
26eae15509
Add test for db get old squeaks to delete ( #1641 )
...
* Add test for get squeaks to delete db method
* Improve test for get squeaks to delete db method
* Add test for get squeaks to delete with liked squeaks and authored squeak
2021-10-18 20:32:56 -07:00
Jonathan Zernik
3ffa122f4f
Add test for get num squeaks with address in block range db method ( #1640 )
2021-10-18 12:47:14 -07:00
Jonathan Zernik
0dfe29ef06
Add test for get num squeaks db method ( #1639 )
2021-10-18 12:21:51 -07:00
Jonathan Zernik
258bd53f31
Add tests for lookup method of squeak db ( #1638 )
...
* Add tests for lookup method of squeak db
* Add test for lookup squeaks db method for unlocked only
2021-10-18 11:58:03 -07:00
Jonathan Zernik
f4a317f571
Add unit test for get address squeaks method of db ( #1637 )
...
* Add unit test for get address squeaks method of db
* Add test for get search entries method of db
* Add tests for get ancestor squeaks method of db
* Add tests for get reply squeaks method of db
2021-10-18 09:51:00 -07:00
Jonathan Zernik
b374aab2d9
Add init with retries method to squeak db ( #1616 )
...
* Add init with retries method to squeak db
* Use db init_with_retries method in squeak node class
* Add unit test for db init with retries method
* Raise exception with message on init with retry fail
2021-10-16 02:04:28 -07:00
Jonathan Zernik
69a4c7a663
Simplify fixtures for test db ( #1615 )
...
* Simplify fixtures for db test
* Remove redundant peer fixture in test db
2021-10-15 22:07:00 -07:00
Jonathan Zernik
3dcc2681d5
Simplify unit tests for interests ( #1579 )
2021-10-12 15:11:38 -07:00
Jonathan Zernik
f49874c1e6
Improve squeak core tests ( #1560 )
...
* Use fixture for block in mock bitcoin client
* Simplify unit test for make squeak method
* Simplify make squeak method even more
* Added unit test for create offer
* Add TODO comment for preimage fixture
2021-10-10 23:48:06 -07:00
Jonathan Zernik
4ca835b2fb
Replace use_tor field with network in peer address ( #1558 )
...
* Replace use_tor field with network in peer address
* Got itest passing with network column in db.
* Got frontend working with network (ipv4 or torv3) configurable
* Fix go to peer address page navigation from sent payment and received payment
2021-10-10 21:00:56 -07:00
Jonathan Zernik
8d0d658e4d
Better use of fixtures for profile ids ( #1529 )
2021-10-07 04:25:26 -07:00
Jonathan Zernik
7aa88efd17
Improve fixure for liked and unliked squeak hashes ( #1528 )
2021-10-07 03:59:52 -07:00
Jonathan Zernik
be5815d402
Use more fixtures for timeline query test ( #1527 )
...
* Use fixture for followed and unfollowed squeaks in timeline test
* Use fixture for inserted signing profile
* Use more fixtures for profiles in tests
* Use better fixture for get like squeaks query test
* Use fixtures for liked and unliked squeak in set liked and set unliked test
2021-10-07 03:50:03 -07:00
Jonathan Zernik
c5d189dde3
Use more fixtures for squeak db test ( #1526 )
...
* Add test for get liked squeaks and set like and set unliked
* Simplify squeak db tests with more fixtures
* Add test for get locked squeak
* Add test for get secret key for missing squeak
2021-10-07 02:51:46 -07:00
Jonathan Zernik
411db3d6b8
Add test for get liked squeaks and set like and set unliked ( #1525 )
2021-10-07 02:17:48 -07:00
Jonathan Zernik
e1a9674200
Add unit test for set profile following ( #1520 )
2021-10-06 15:39:42 -07:00
Jonathan Zernik
2a55b44b97
Add get timeline squeak entries test ( #1518 )
...
* WIP: most of timeline db query test
* Got unit test for timeline query working with followed profile
* Remove old commented create signing profile function
2021-10-05 19:38:35 -07:00
Jonathan Zernik
9c599ee0e3
Add test util functions ( #1515 )
...
* Create test utils module for unit tests
* Improve squeak db unit tests using generated block header object
* Add assertion for block time in get squeak entry test
2021-10-05 15:28:25 -07:00
Jonathan Zernik
5d753ace14
Add unit test for get squeak secret key from db ( #1492 )
...
* Add unit test for get squeak secret key from db
* Add unit test for get missing squeak secret key from db
2021-10-03 21:31:17 -07:00
Jonathan Zernik
3effe81546
Add unit test for get missing squeak entry from db ( #1491 )
2021-10-03 21:11:28 -07:00
Jonathan Zernik
2eb1f1025d
Add unit test for get squeak entry from db ( #1490 )
2021-10-03 21:02:29 -07:00
Jonathan Zernik
080d6299b5
Add unit test for duplicate squeak ( #1489 )
...
* Add unit test for insert duplicate squeak in db
* Add unit test for get missing squeak from db
2021-10-03 20:52:04 -07:00