1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-14 07:02:34 +01:00
Commit Graph

657 Commits

Author SHA1 Message Date
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
David Bomba
c0ba8aa822 TDD for purchase order PDFs 2022-06-06 22:27:17 +10:00
David Bomba
f9685035cd Fixes for purchase orders 2022-06-05 19:41:19 +10:00
Nikola Cirkovic
1fe6746fe3 INA-6 | Update for tests 2022-06-05 05:57:57 +02:00
David Bomba
605d38f756
Merge pull request #7488 from CirkaN/Cirkovic/INA-5-refactor
Cirkovic/ina 5 refactor
2022-05-31 07:36:54 +10:00
David Bomba
7874d52e2a
Merge pull request #7479 from CirkaN/Cirkovic/IINA-4
Cirkovic/iina 4
2022-05-31 07:36:33 +10:00
Nikola Cirkovic
a337e67490 INA-5 | Fix tests 2022-05-30 20:45:13 +02:00
David Bomba
56e83f6e6c Fixes for schedule form validation 2022-05-29 16:43:07 +10:00
Nikola Cirkovic
34b99c78b1 INA-4 | PurchaseOrder Tests 2022-05-29 05:22:37 +02:00
David Bomba
cf141e36c8 Fixes for scheduler 2022-05-27 17:01:15 +10:00
David Bomba
92b5af5a39
Merge pull request #7456 from CirkaN/Cirkovic/INA-5
Cirkovic/INA-5 (Ninja task scheduler)
2022-05-27 12:05:47 +10:00
Nikola Cirkovic
e137b1ac0b INA-5 | Update Tests 2022-05-26 04:30:07 +02:00
Nikola Cirkovic
dfd33773d2 INA-5 | SchedulerTest [Update because of transformers and encoded id] 2022-05-25 23:26:12 +02:00
Nikola Cirkovic
05a1d0c0e6 INA-5 | update tests 2022-05-25 00:11:36 +02:00
Nikola Cirkovic
5d744ed8e4 INA-5 | Feature Tests for Scheduler 2022-05-24 02:35:10 +02:00
David Bomba
dfd82520a2 Fixes for validation rules for exports 2022-05-21 08:37:19 +10:00
David Bomba
2dfe001152 Fixes for reminders 2022-05-16 18:53:01 +10:00
David Bomba
5c588cf54f Minor fixes for profit loss logging 2022-05-14 09:12:09 +10:00
David Bomba
6c13512c6a Profit and loss 2022-05-13 17:15:05 +10:00
David Bomba
e0373006d8 PnL Expense tests 2022-05-13 16:42:04 +10:00
David Bomba
4e8389f72e Minor fixes for check data 2022-05-13 14:06:21 +10:00
David Bomba
7df6b8f940 PnL Expense tests 2022-05-13 13:07:42 +10:00
David Bomba
fd67d8202e Fixes for tests 2022-05-13 11:13:25 +10:00
David Bomba
00a99698ac Profit and loss income by cash 2022-05-13 09:11:40 +10:00
David Bomba
618d2234d1 TDD Profit and loss 2022-05-12 14:40:44 +10:00
David Bomba
d7084785fe fixes for jobs breaking with massive payloads 2022-05-12 13:57:41 +10:00
David Bomba
fb5b2882d3 Fixes for tests 2022-05-12 11:10:47 +10:00
David Bomba
dd5800eac7 TDD for profit and loss 2022-05-12 10:57:58 +10:00
David Bomba
a72de5efb4 Profit and loss: 2022-05-10 20:06:40 +10:00
David Bomba
e0e53af87f Fixes for credits 2022-05-10 14:25:16 +10:00
David Bomba
61defbdb1d Tests for expenses 2022-05-09 07:27:34 +10:00
David Bomba
ba5037c6da Refactor Ledger Service 2022-05-06 08:40:34 +10:00
David Bomba
01ecc22d5f Exports 2022-04-27 15:17:45 +10:00
David Bomba
e521718605 New Schema Dump 2022-04-26 16:53:41 +10:00
David Bomba
8a6eea8350 Fixes for regression - incorrect type setting in ClientSettings 2022-04-22 22:01:32 +10:00
David Bomba
cfd9ed4875 Fixes for types in settings 2022-04-18 23:10:43 +10:00
David Bomba
eec5e47302 Fixes for translations corrupting client savings 2022-04-01 15:13:46 +11:00
David Bomba
5a4614da1f Fixes for api docs 2022-04-01 13:46:55 +11:00
David Bomba
f3d1c35b7f Force integer for client id 2022-04-01 11:35:39 +11:00
David Bomba
4a4b324af5 Improve test coverage for triggered actions 2022-03-30 14:12:53 +11:00