Commit Graph

1129 Commits

Author SHA1 Message Date
github-actions 71c208c4fb Auto commit for release 'develop' on 2024-11-25 2024-11-25 04:18:55 +01:00
James Cole 9452e93f22 Fix method visibility 2024-09-14 11:36:57 +02:00
github-actions bb2270b274 Auto commit for release 'develop' on 2024-09-14 2024-09-14 06:17:49 +02:00
James Cole 1b75b778d8 Merge pull request #9171 from mzhubail/add-about-tests_
Add about test
2024-09-04 10:35:08 +02:00
github-actions 7e665dbdfc Auto commit for release 'develop' on 2024-09-02 2024-09-02 05:06:53 +02:00
James Cole b6897ec3a9 Merge pull request #9178 from tasnim0tantawi/bill-test
Add  test cases for Api\V1\Controllers\Autocomplete\BillController & BudgetController
2024-08-31 15:30:37 +02:00
tasnim 78d32865b5 Autocomplete\Budget tests 2024-08-27 11:38:49 +03:00
tasnim edfa92c1aa Navigation.php back and change tests 2024-08-27 09:44:47 +03:00
tasnim 7d0e7f779f Add unit test cases for Api\V1\BillController 2024-08-26 14:40:11 +03:00
mzhubail edf2030251 Add about test 2024-08-25 12:19:23 +03:00
tasnim bd1cfffb61 add my name 2024-08-25 09:07:27 +03:00
tasnim 23045ebd59 remove useless comments 2024-08-20 16:02:43 +03:00
tasnim 2e5931f304 add test cases for api/v1/autocomplete/CategoryController 2024-08-20 15:00:52 +03:00
James Cole a17bc7258f Fix phpstan error courtesy of the laravel 11 upgrade (changed signatures and return types) 2024-04-02 15:40:33 +02:00
James Cole 19d1cf192b Fix tests, update changelog. 2024-04-01 08:46:13 +02:00
James Cole 5ec54de29e Fix shitty test 2024-03-31 16:51:53 +02:00
github-actions ddf1a8cebb Auto commit for release 'develop' on 2024-03-18 2024-03-18 01:30:56 +01:00
James Cole b359d51d3a Fix code and tests. 2024-03-17 12:26:56 +01:00
James Cole 3913fa5086 Restore old behavior 2024-03-17 12:00:28 +01:00
James Cole d3f19db42d This should fix the tests again. 2024-02-03 10:08:34 +01:00
James Cole 44df07a5f5 Update, rebuild, and add a new API endpoint. 2024-01-17 20:23:02 +01:00
James Cole 956108399b Various code cleanup and fixed alignments. 2024-01-01 15:17:11 +01:00
James Cole 135b9fc010 Add void to a lot of methods. 2023-12-21 05:06:17 +01:00
James Cole c9d5d74662 More code cleanup 2023-12-20 19:45:12 +01:00
James Cole da4e813d9a Fix tests 2023-12-20 06:02:35 +01:00
James Cole 68f01d932e Fix a lot of phpstan things 2023-11-26 12:10:42 +01:00
James Cole a6c355c7b8 Add test case for bill dates 2023-11-26 07:19:57 +01:00
James Cole 7436f94feb Fix code quality and run. 2023-11-04 14:26:35 +01:00
James Cole 101bcc250e Code cleanup 2023-11-03 05:52:35 +01:00
James Cole 12675dd950 Refactor phpstan errors. 2023-10-29 17:41:14 +01:00
James Cole 78153c2aa4 Update meta files for new release. 2023-10-28 17:17:09 +02:00
James Cole cc14a4ac57 Merge pull request #8098 from tonicospinelli/testing
Cover preferred format methods of the Navigation class
2023-10-27 05:51:56 +02:00
Antonio Spinelli 8100f68020 Cover preferred format methods of the Navigation class 2023-10-24 22:52:01 -03:00
James Cole 32a36bbb12 Restore missing methods and fix silly bugs. 2023-10-24 18:32:24 +02:00
Antonio Spinelli dd2f8d4404 Cover endOfPeriod method of the Navigation class
The custom frequency requires a timezone configuration, forcing it
to run in the integration test scope.

Running the integration tests requires a database connection in the
build process. It enables other case tests.

The API Tests cause interference in other tests, requiring isolating
them.
2023-10-23 10:32:38 -03:00
James Cole 1699513023 Fix test 2023-08-31 19:18:16 +02:00
James Cole 488a8a7e86 Fix test 2023-08-31 19:13:06 +02:00
James Cole dd571d6221 Fix test 2023-08-31 19:02:38 +02:00
James Cole 80f21d2a4f Fix test 2023-08-30 07:06:43 +02:00
James Cole 5513ec068e Fix test 2023-08-30 06:53:46 +02:00
James Cole 788dae1477 fix: notifications 2023-07-17 20:33:26 +02:00
James Cole b557805eeb Code for new release 2023-07-15 16:02:42 +02:00
Antonio Spinelli 7af9169763 Cover the startOfPeriod method of Navigation class 2023-07-04 14:15:52 -03:00
James Cole 775504acb6 Chore: Add phpdocs 2023-07-04 13:29:19 +02:00
Antonio Spinelli 720fff4595 Fix typo, remove unused class and change the copyright author 2023-07-04 06:26:05 -03:00
Antonio Spinelli 551c1f4cda Send code coverage to SonarCloud 2023-07-03 15:45:32 -03:00
Antonio Spinelli 7f0db0de04 Organize test suites into unit and integration
This is the goals of project organization composing different
combinations to run any number of tests together.
2023-07-03 13:46:30 -03:00
Antonio Spinelli 6ac3cc384b Add Bimonthly periodicity for Support\Calendar 2023-07-03 13:46:30 -03:00
Antonio Spinelli 563879c218 Fix a bug for monthly calculation periodicity
This change reveals a bug in the Monthly calculation date where the
difference between more than one month was discarded. The new calendar
calculator was prepared to avoid overflow at the end of the month.
2023-07-03 13:46:29 -03:00
Antonio Spinelli dbb7ed3d5d Add the Calendar Calculator
It encapsulates some date operations like sum. The result will be the
calculated date when calling the nextDateByInterval method, given the
date, periodicity, and skipInterval parameters.

For example, given a date of 2019-12-31, monthly periodicity, and skip
interval 0, the results will be 2020-01-31. Also, if the skip interval
is 1, the result is 2020-02-29. This is because the next date will add
another month to the current range.
2023-07-03 13:46:29 -03:00