1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-21 17:01:33 +02:00
Commit Graph

20 Commits

Author SHA1 Message Date
David Bomba
8d250209e3 Fixes for tests. 2022-09-05 17:51:26 +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
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
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
e153a0a06a Update license 2022-06-08 14:25:44 +10:00
David Bomba
ba5037c6da Refactor Ledger Service 2022-05-06 08:40:34 +10:00
David Bomba
edf73b2b18 Fixes for tests 2022-03-15 20:20:05 +11:00
David Bomba
9acc02a7df Tets 2021-07-31 19:59:04 +10:00
=
3929d1fd64 Working on tests 2021-07-30 20:03:22 +10:00
=
623d75153c Working on tests 2021-07-30 19:08:49 +10:00
=
a5603a257c Working on tests 2021-07-30 18:46:51 +10:00
David Bomba
0837252c47 Working on deleted invoice accounting 2021-07-30 15:55:02 +10:00
David Bomba
934610a01c Update copyright + version bump + set canadian dollar symbol to $ 2021-01-04 08:54:54 +11:00
Benjamin Beganović
1f2c3f2823 update pagination links & apply php-cs-fixer 2020-12-05 14:24:21 +01:00
David Bomba
4f0776a323 Working on tests for deleted invoice 2020-12-05 09:08:10 +11:00
David Bomba
91fcba628f Tests for invoice deletion 2020-12-05 08:10:31 +11:00
David Bomba
de5a5300a2 Working on tests for deleted invoice 2020-12-04 20:58:54 +11:00
David Bomba
cb19234d9e Working on tests for delete invoice refactor 2020-12-04 17:40:59 +11:00