1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 21:22:58 +01:00
Commit Graph

1519 Commits

Author SHA1 Message Date
David Bomba
a55cee5a68 tests for admin 2023-01-21 10:04:12 +11:00
David Bomba
fc5d6a99fe add guard to client gateway tokens 2023-01-21 09:59:00 +11:00
David Bomba
810e997dfc Remove logging 2023-01-21 09:18:09 +11:00
David Bomba
ca225846c2 base api testS 2023-01-21 08:09:39 +11:00
David Bomba
883c8f2289 Tests for refactors of API permissions 2023-01-20 23:45:29 +11:00
David Bomba
24aa73c359 Fixes for notifications 2023-01-19 17:20:31 +11:00
David Bomba
4364f0d168 Clean up for createsingleaccount 2023-01-19 12:16:51 +11:00
David Bomba
0caa8ea8ce Back fill test for filters 2023-01-19 11:52:07 +11:00
David Bomba
fe24cc5eb6 Clean up all filters and add back test: 2023-01-19 11:24:40 +11:00
David Bomba
295a435762 Fixes for UserFilters as no company() scope is possible 2023-01-19 10:31:48 +11:00
David Bomba
7b40340047 Fixes for Purchase Order Filters 2023-01-19 10:23:42 +11:00
David Bomba
2a1156d160 Tests for preflight checks for email service 2023-01-19 09:52:49 +11:00
David Bomba
bdb160dbe6 Fixes for tests 2023-01-19 08:35:11 +11:00
David Bomba
1e7f750a1b Fixes for tests 2023-01-19 08:25:15 +11:00
David Bomba
ff20b2caf1 Fixes for tests 2023-01-19 08:07:12 +11:00
David Bomba
a1063f8249 Run post update in github actions to ensure cache is built 2023-01-19 07:54:15 +11:00
David Bomba
ec6de36105 Fixes for tests 2023-01-18 21:07:15 +11:00
David Bomba
1a60f8d9d8 Fixes for tests 2023-01-18 20:42:46 +11:00
David Bomba
04a9462872 Fixes for tests 2023-01-18 20:04:53 +11:00
David Bomba
b430908b25 Fixes for tests 2023-01-18 19:44:30 +11:00
David Bomba
d0f181314c Fixes for tests 2023-01-18 19:24:43 +11:00
David Bomba
f1dcedebe2 Fixes for tests 2023-01-18 19:02:14 +11:00
David Bomba
bc402ec30c Fixes for tests 2023-01-18 18:56:15 +11:00
David Bomba
580ed56ad9 Fixes for test 2023-01-18 18:15:20 +11:00
David Bomba
4d43506a59 Fixes for tests 2023-01-18 18:09:18 +11:00
David Bomba
d837f956d7 Fixes for parallel testing in github actions 2023-01-18 17:49:14 +11:00
David Bomba
89956c7ff8 Parallel testing to github 2023-01-18 17:43:30 +11:00
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
0497089e27 Fixes for pro rata calculations where discounts are involved 2023-01-12 21:31:46 +11:00
David Bomba
077986d59c Clean up legacy importer 2023-01-12 09:19:38 +11:00
David Bomba
ff9bd79449 Merge branch 'v5-develop' into designer 2023-01-11 23:40:19 +11:00
David Bomba
e174b379a6 Additional mailer implementation 2023-01-11 19:29:27 +11:00
David Bomba
894c2011b0 Improve clean up of stale gateway fees 2023-01-11 15:43:54 +11:00
David Bomba
174d0d3338 Merge branch 'v5-develop' into designer 2023-01-08 15:21:46 +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
357b703017 Minor fixes for tests 2023-01-03 16:04:36 +11:00
David Bomba
0f9b705074 Fixes for tests 2023-01-03 11:36:13 +11:00
David Bomba
d97f17ea39 Fixes for tests 2023-01-02 17:55:57 +11:00
David Bomba
3ec7f6a80d Refactor for PDF Generation 2022-12-29 01:50:11 +11:00
David Bomba
ca853d29e5 Pdf Service Refactor 2022-12-28 21:28:58 +11:00
David Bomba
b01bf53fca Fixes for tests 2022-12-24 01:42:57 +11:00
David Bomba
bce476977b Resolve design template 2022-12-23 13:46:52 +11:00
David Bomba
1d28a98a55 Stubs for refactor for PDF generation 2022-12-23 13:22:01 +11:00
David Bomba
02899b931e Fixes for tests 2022-12-21 22:20:54 +11:00
David Bomba
b1454d11ab Minor fixeS 2022-12-21 12:27:47 +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
1d6b7d3b55 Late fee tests 2022-11-17 17:38:27 +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
89c42a257c Reduce storage calls 2022-10-22 10:08:37 +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
e951a44737 Fixes for generating counters 2022-10-02 12:24:49 +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
3aa0df508e Refactor bank transactions 2022-09-21 13:21:52 +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
9846a3e18f Fixes for default mark down settings 2022-09-05 17:18:08 +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
=
b5f61d22a7 Tests for credit balance 2022-08-22 10:27:11 +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
e716bb5a02 Fixes for showing fees in both the product and tax tables 2022-08-19 08:41: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
f014ced0d5 Fixes for tax floats with precision greater than 2 2022-08-16 08:02:48 +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
89b6bc5ae4 Fixes for generated number tests 2022-08-10 14:10:05 +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
330c5bcba1 Fixes for tests 2022-07-01 19:24:22 +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
4eed22d811 Refactor for store client request 2022-06-23 13:12:28 +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
f494e73d46 V5.3.97 2022-06-09 18:13:41 +10:00
David Bomba
76bd11facb Purchase Order Events 2022-06-09 12:24:42 +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