1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-14 15:13:29 +01:00
Commit Graph

896 Commits

Author SHA1 Message Date
David Bomba
d708d054f2 Improve how tests function under parallel testing 2023-01-18 17:35:43 +11:00
David Bomba
6b2ca2dfb2 Always ensure next_run is calculated from the time the scheduler was last run, not when the scheduler was restarted. 2023-01-18 10:39:01 +11:00
David Bomba
368006f63f Scheduler tests 2023-01-18 10:34:06 +11:00
David Bomba
8ec20f4a78 Tests for company update 2023-01-18 07:46:34 +11:00
David Bomba
5e67916117 Fixes for Parallel testing 2023-01-17 23:44:38 +11:00
David Bomba
f46aa87d38 Fixes for tests 2023-01-17 22:45:32 +11:00
David Bomba
1b1fc71d0d Validation rules for clients in scheduler 2023-01-17 22:40:40 +11:00
David Bomba
2bcccb2215 Tests for scheduler 2023-01-17 20:48:10 +11:00
David Bomba
9f3e4b881f Fixes for tests 2023-01-17 19:44:10 +11:00
David Bomba
52a982d634 Email Tests 2023-01-17 12:21:36 +11:00
David Bomba
8bc298daa4 Add checks for content type of statement object 2023-01-17 11:06:41 +11:00
David Bomba
b387528a4a Fixes for tests 2023-01-17 11:05:25 +11:00
David Bomba
c51dd313b9 Tests for emailing client statements 2023-01-17 11:00:12 +11:00
David Bomba
a79e21b3cf Refactor to use Envelope Mailables 2023-01-14 22:00:22 +11:00
David Bomba
cf9ffb05d5 Tests for calculating date ranges 2023-01-14 18:47:14 +11:00
David Bomba
9e5417ab1c Define the Client Statement Class 2023-01-13 20:16:17 +11:00
David Bomba
c5ac9cacaf Schduler tests 2023-01-13 20:02:32 +11:00
David Bomba
9e415b420c Refactor for scheduled tasks 2023-01-13 12:43:38 +11:00
David Bomba
077986d59c Clean up legacy importer 2023-01-12 09:19:38 +11:00
David Bomba
894c2011b0 Improve clean up of stale gateway fees 2023-01-11 15:43:54 +11:00
David Bomba
263e08bf04 Product Sales Report 2023-01-04 01:38:13 +11:00
David Bomba
fd51303617 Product Sales Report 2023-01-04 01:30:50 +11:00
David Bomba
7cc7c2e546 Fixes for tests 2023-01-03 20:05:20 +11:00
David Bomba
d97f17ea39 Fixes for tests 2023-01-02 17:55:57 +11:00
David Bomba
b01bf53fca Fixes for tests 2022-12-24 01:42:57 +11:00
David Bomba
591b007c1c Tests for linking payments with expenses 2022-12-05 10:07:34 +11:00
David Bomba
c085845da1 fixes for tests 2022-12-01 12:41:28 +11:00
David Bomba
49ac6a3d50 Fixes for tests 2022-12-01 12:00:53 +11:00
David Bomba
7b073d033a Fixes for Zoho Import 2022-12-01 08:49:59 +11:00
David Bomba
f7bd931c0c Fixes for payment tests 2022-12-01 08:24:45 +11:00
David Bomba
c4ba5a911d Tests for linking expenses and payments 2022-11-30 18:40:55 +11:00
David Bomba
c313caa59e Add Payment Id to bank transactions table 2022-11-30 18:39:22 +11:00
David Bomba
9e69488254 Fixes for multiple deletes on a single invoice 2022-11-30 14:39:45 +11:00
David Bomba
eb0bdd12ba Fixes for CSV imports, replace work_phone with phone 2022-11-30 11:46:02 +11:00
David Bomba
a11d2c88bc updates for db schema 2022-11-25 23:30:03 +11:00
David Bomba
264a4df13b Adjustments for handling invoice deletion 2022-11-24 16:49:03 +11:00
David Bomba
d34337edb5 Minor fixes for rules 2022-11-24 08:05:08 +11:00
David Bomba
08630874b8 Fixes for rules 2022-11-23 22:14:36 +11:00
David Bomba
0f2e19a873 Merge branch 'v5-develop' into bank_rules 2022-11-23 12:54:26 +11:00
David Bomba
85c0dbe0e4 Inovice tasks lockijng 2022-11-23 10:01:37 +11:00
David Bomba
3fa0373abb bank rule testS 2022-11-22 07:14:00 +11:00
David Bomba
b3fefb3ac8 Minor fixes for validation rules 2022-11-22 07:10:17 +11:00
David Bomba
4c72663940 Bank Transaction rule tests 2022-11-20 14:31:30 +11:00
David Bomba
054be4a8ac Transaction rules tests 2022-11-20 14:21:35 +11:00
David Bomba
b2dee8dd35 Tests for rules 2022-11-20 14:19:35 +11:00
David Bomba
0efaf80cee Tests for matching expenses 2022-11-20 13:55:19 +11:00
David Bomba
3562c3376c Fixes for CRUD actions on bank transaction rules 2022-11-20 11:25:57 +11:00
David Bomba
f6f659521f Merge branch 'v5-develop' into bank_rules 2022-11-20 11:08:09 +11:00
David Bomba
a6079b0cc1 Fixes for variables in recurring invoices 2022-11-18 07:45:14 +11:00
David Bomba
fd3d9aa931 Tests for recurring invoice variables 2022-11-17 19:11:05 +11:00
David Bomba
6ef21be16c Bank transaction rules 2022-11-13 15:21:37 +11:00
David Bomba
69a429018b Fixes for inventory management 2022-11-09 10:26:16 +11:00
David Bomba
9d9f9e6a6b Tests for delayed gocardless payments 2022-11-08 07:58:24 +11:00
David Bomba
90adc915bd Tests for payments with gocardless webhooks 2022-11-08 07:48:18 +11:00
David Bomba
bc614ae178 Tests for gocardless webhooks 2022-11-07 21:44:07 +11:00
David Bomba
c3f84a6736 Mocks for gocardless webhooks 2022-11-07 21:40:50 +11:00
David Bomba
10c8fbf4c1 Minor fixes for phone validation 2022-11-07 21:00:21 +11:00
David Bomba
a6fde2dbcd Minor formatting changes for tests 2022-11-07 15:33:18 +11:00
David Bomba
28dd999cb8 remove html_back as key from restore 2022-11-07 12:55:11 +11:00
David Bomba
27a721af05 Minor fixes for tests 2022-11-03 19:58:36 +11:00
David Bomba
c0870afded Fixes for verifyphone 2022-11-03 16:45:56 +11:00
David Bomba
c4e0295b32 Remove inventory adjustments when deleting a invoice 2022-10-29 12:14:25 +11:00
David Bomba
ec95d087f1 Order designs in ascending order 2022-10-28 07:56:38 +11:00
David Bomba
db68bfe4d0 Fixes for tests 2022-10-27 13:46:06 +11:00
David Bomba
15b1237e21 Fixes for bank transaction tests 2022-10-27 12:10:11 +11:00
David Bomba
3e6071d5d4 Fixes for Yodlee Test 2022-10-27 12:04:42 +11:00
David Bomba
2bf1435750 Fixes for Yodlee tests 2022-10-26 14:03:49 +11:00
David Bomba
ce47e30aa2 Merge branch 'v5-develop' into yodlee 2022-10-24 08:43:02 +11:00
David Bomba
1f0a6725f7 Fixes for tests 2022-10-19 09:54:35 +11:00
David Bomba
b72222c3c7 Fixes for formatting of quantity column 2022-10-19 09:17:32 +11:00
David Bomba
0a2cb6f88d Merge branch 'v5-develop' into yodlee 2022-10-06 20:55:44 +11:00
David Bomba
6d7ddc3beb Minor fixes for Stripe ACH Verifications 2022-10-01 10:29:15 +10:00
David Bomba
023d596844 Add transaction id to expenses and payments 2022-09-23 12:30:53 +10:00
David Bomba
dd414fc588 Refactor bank transactions 2022-09-22 16:20:54 +10:00
David Bomba
3865d7193e Refactor for bank transactions 2022-09-21 17:00:49 +10:00
David Bomba
d14df7ef2d Refactor for bank transactions 2022-09-21 15:43:35 +10:00
David Bomba
7331c2985b Fixes for tests 2022-09-18 10:15:51 +10:00
David Bomba
7a15afa827 Fixes for tests 2022-09-15 17:56:11 +10:00
David Bomba
b6b36c89fd Add webhook functionality to credits 2022-09-15 17:43:33 +10:00
David Bomba
02071e93d6 Bank Transaction matching 2022-09-15 17:31:32 +10:00
David Bomba
84b37d7e94 Transaction expense resolution 2022-09-15 16:21:47 +10:00
David Bomba
d93efb434d Expense categories 2022-09-15 16:15:57 +10:00
David Bomba
7e7f5395f8 Match Bank Transactions validation 2022-09-15 14:15:02 +10:00
David Bomba
c0cb157309 Merge branch 'v5-develop' into yodlee 2022-09-07 14:54:50 +10:00
David Bomba
8d250209e3 Fixes for tests. 2022-09-05 17:51:26 +10:00
David Bomba
d082b21c9b update vendor csv for tests 2022-09-01 16:13:50 +10:00
David Bomba
384ce1fa8d Use transaction when marking an invoice as paid 2022-08-29 18:15:50 +10:00
=
4e3f52a1ee Refactor for payments to improve query efficiency 2022-08-22 13:24:33 +10:00
=
59e3ab9993 Working on client credit balance field 2022-08-22 08:48:52 +10:00
=
5070b2745e Adjust credit balance on client record 2022-08-22 08:24:36 +10:00
David Bomba
9781fc2fbc Clean up for tests 2022-08-19 12:49:35 +10:00
David Bomba
87e3f12920 Fixes for edge case when deleting an invoice with a partial payment 2022-08-19 12:48:58 +10:00
David Bomba
6e134098b5 tests for deleting an invoice 2022-08-19 12:09:50 +10:00
David Bomba
b7a5c055a8 Fixes for single route actions 2022-08-18 14:08:50 +10:00
David Bomba
e1fd87d174 Add validation for task time logs 2022-08-18 13:29:18 +10:00
David Bomba
45d658cf47 Tests for bank transaction matching 2022-08-18 09:27:28 +10:00
David Bomba
2d6888a6ec Parsing bank transactions 2022-08-17 11:52:16 +10:00
David Bomba
1bfafbe24c refactor test mode 2022-08-16 06:03:12 +10:00
=
9d5c181634 Convert quote to project tests 2022-08-15 13:49:47 +10:00
David Bomba
2da7f4e17c Data matching for bank integration 2022-08-12 15:25:18 +10:00
David Bomba
8c7d002b31 Bank Transaction scaffold 2022-08-11 17:13:40 +10:00
David Bomba
d50220c387 Bank Integration API Tests 2022-08-11 17:05:33 +10:00
David Bomba
f7eb506e0d Refresh accounts 2022-08-11 12:39:43 +10:00
David Bomba
2893c98b0e Tests for reminders 2022-08-10 13:35:47 +10:00
David Bomba
d80ec520f9 Fast link provisioning 2022-08-10 11:56:46 +10:00
David Bomba
957cc727f1 Data matching 2022-08-09 12:21:06 +10:00
David Bomba
80abcda831 Working on data matching 2022-08-08 19:45:06 +10:00
David Bomba
0228f5aec3 minor fixes 2022-08-08 14:04:39 +10:00
David Bomba
7433671945 Update test 2022-08-08 12:59:56 +10:00
David Bomba
38704c6ce5 Transaction transformers 2022-08-08 12:46:41 +10:00
David Bomba
b7fbfe6531 Transform accounts 2022-08-08 09:15:31 +10:00
David Bomba
dc176aa3f8 Clean up for Yodlee Tests 2022-08-08 08:32:28 +10:00
David Bomba
090f8f5dab Refactor for Yodlee API' 2022-08-08 08:26:27 +10:00
David Bomba
edfbcb9514 Working on Fastlink 2022-08-06 16:58:48 +10:00
David Bomba
6dd9f7302d Income / Expense TransformeR 2022-08-05 13:45:53 +10:00
David Bomba
d1530c4477 Merge v5 2022-08-05 13:04:02 +10:00
David Bomba
8810596511 Merge v5 2022-08-05 12:58:45 +10:00
David Bomba
e41503a5f5 Test yodlee endpoints 2022-08-05 11:37:31 +10:00
David Bomba
effd1678a5 Merge branch 'v5-stable' into yodlee 2022-08-05 11:27:52 +10:00
David Bomba
87396cd626 Fixes for expense date imports 2022-08-01 08:02:04 +10:00
David Bomba
8929334e08 Transactions 2022-07-30 14:38:21 +10:00
David Bomba
a2b89d1476 Transactions 2022-07-30 12:10:42 +10:00
David Bomba
3e84dbc357 fixes for authorizatoin 2022-07-30 11:43:24 +10:00
David Bomba
cbe9b7f4f9 Skip apple pay tests 2022-07-30 10:41:54 +10:00
David Bomba
15b53ca617 Stubs for yodlee 2022-07-28 17:33:47 +10:00
David Bomba
b44e1a02ca Auth tokens 2022-07-28 16:29:42 +10:00
David Bomba
d98fd30add Auth tokens 2022-07-28 15:07:35 +10:00
David Bomba
717a34aa99 Fixes for tests 2022-07-28 11:24:50 +10:00
David Bomba
d93bac1b09 Improve efficiency of queries relying on Country 2022-07-28 10:58:13 +10:00
David Bomba
2e98a513a7 Updates for L9 2022-07-20 16:18:21 +10:00
David Bomba
071f2ee102 Post Merge v5-develop 2022-07-15 17:41:30 +10:00
David Bomba
0894752c80 Fixes for tests 2022-06-30 17:51:39 +10:00
David Bomba
776f3428ba Purchase order decorators 2022-06-29 11:37:40 +10:00
David Bomba
425aa29f0c Fixes for tests 2022-06-24 21:33:43 +10:00
Nikola Cirkovic
c75b1d303f
Cirkovic/ina 16 fixes (#50)
* Dispatch | PdfCreatorTest | Removed deprecated method

* Dispatch | Remove deprecated dispatchNow() method and use dispatchSync or call handle() on class where return is mandatory.
2022-06-24 21:15:14 +10:00
David Bomba
add5a9d9f7 Fixes for tests 2022-06-24 12:21:31 +10:00
David Bomba
3e916e0f1f Fixes for tests 2022-06-24 11:55:41 +10:00
David Bomba
2e29bbce3c Laravel 9 2022-06-23 15:34:15 +10:00
David Bomba
6020927645 Add laravel igniition to dependencies 2022-06-23 13:28:33 +10:00
David Bomba
ade8b24031 Laravel 9 2022-06-23 09:24:56 +10:00
Shift
4f7a8f9752
Set return type of base TestCase methods
From the [PHPUnit 8 release notes][1], the `TestCase` methods below now declare a `void` return type:

- `setUpBeforeClass()`
- `setUp()`
- `assertPreConditions()`
- `assertPostConditions()`
- `tearDown()`
- `tearDownAfterClass()`
- `onNotSuccessfulTest()`

[1]: https://phpunit.de/announcements/phpunit-8.html
2022-06-21 10:00:57 +00:00
Shift
06d910a53b
Use Faker methods
Accessing Faker properties was deprecated in Faker 1.14.
2022-06-21 09:59:36 +00:00
Shift
19080933b6
Apply Laravel coding style
Shift automatically applies the Laravel coding style - which uses the PSR-2 coding style as a base with some minor additions.

You may customize the code style applied by adding a [PHP CS Fixer][1] or [PHP CodeSniffer][2] ruleset to your project root. Feel free to use [Shift's Laravel ruleset][3] to help you get started.

For more information on customizing the code style applied by Shift, [watch this short video][4].

[1]: https://github.com/FriendsOfPHP/PHP-CS-Fixer
[2]: https://github.com/squizlabs/PHP_CodeSniffer
[3]: https://gist.github.com/laravel-shift/cab527923ed2a109dda047b97d53c200
[4]: https://laravelshift.com/videos/shift-code-style
2022-06-21 09:57:17 +00:00
David Bomba
45a6daf347 fixes for tests 2022-06-15 14:38:47 +10:00
David Bomba
b1c3878da2 Bulk actions for Purchase Orders 2022-06-10 18:00:07 +10:00
David Bomba
bc21d916b9 Adjustments for payment requests 2022-06-10 08:20:40 +10:00
David Bomba
f92070e3be Inventory Management Tests 2022-06-08 20:40:26 +10:00
David Bomba
e153a0a06a Update license 2022-06-08 14:25:44 +10:00
David Bomba
21c5bdcd90 Fixes for tests 2022-06-08 08:27:47 +10:00
David Bomba
d7c7289ca9 Update for invoice designs 2022-06-07 20:36:47 +10:00