Antonio Spinelli
8e911491f6
Add tests for Navigation
...
It is responsible for calculating and manipulating Dates in financial
organization is a very important feature, and requires significant
coverage.
The first test case is just to create an understanding of how it
works.
2023-07-03 13:46:29 -03:00
James Cole
06be3f0d46
Expand test script and fix first functional test.
2023-02-06 06:14:07 +01:00
James Cole
fd7ba9dd57
Remove unused tests
2023-02-04 17:11:19 +01:00
James Cole
5b8e01fbfb
Various PSR12 code cleanup
2022-12-29 19:43:43 +01:00
James Cole
f95a064eca
Rebuild frontend.
2021-09-16 14:32:06 +02:00
James Cole
5262c0240e
Various code cleanup.
2021-06-13 08:10:30 +02:00
James Cole
2bff7750b4
Code fixes.
2021-05-24 08:06:56 +02:00
James Cole
18a80f3519
Update code for API
2021-04-03 07:16:43 +02:00
James Cole
2c575f3ca5
Code cleanup.
2021-03-28 11:43:07 +02:00
James Cole
6401b5c9eb
Clean up readme and old code.
2021-03-28 10:37:01 +02:00
James Cole
cbf3118b8a
Fix tests
2021-03-21 08:13:19 +01:00
James Cole
657726e667
First run of all tests
2021-03-21 07:30:44 +01:00
James Cole
eb90dac89d
Transaction tests work.
2021-03-21 07:09:39 +01:00
James Cole
4c2f758f69
Tests also validate existing data.
2021-03-20 19:17:22 +01:00
James Cole
b1023cdfda
Update test routine.
2021-03-20 15:40:20 +01:00
James Cole
f15da8e4b3
Update test routine.
2021-03-20 15:39:49 +01:00
James Cole
5df6135a0e
Make sure expectations work.
2021-03-20 15:28:44 +01:00
James Cole
186cbed777
Refactor available budget test
2021-03-20 08:00:58 +01:00
James Cole
bc5aa4b4cd
Update test code.
2021-03-20 07:21:13 +01:00
James Cole
836f0ecf3f
Fix tests for account
2021-03-20 07:02:06 +01:00
James Cole
03d3ede036
Expand test code.
2021-03-19 06:12:28 +01:00
James Cole
a93da2a912
Expand some test helpers.
2021-03-16 17:20:41 +01:00
James Cole
df86c89acc
Some test scripts.
2021-03-16 14:34:11 +01:00
James Cole
690edb8fcc
Some notes in code.
2021-03-16 07:23:53 +01:00
James Cole
d5ee87ddee
Fix some edge cases in recurrences.
2021-03-15 19:51:55 +01:00
James Cole
1783f0beb1
Extra content to fix recurrences.
2021-03-15 08:51:21 +01:00
James Cole
1817160d48
Update meta data for new release.
2021-03-14 20:03:27 +01:00
James Cole
5eb1f93851
Most model tests now working.
2021-03-14 16:42:10 +01:00
James Cole
beece4dcbb
Fix tests for transaction storage.
2021-03-14 16:08:49 +01:00
James Cole
288052905e
Expand all test models.
2021-03-14 10:41:17 +01:00
James Cole
40a463d62a
Expand test cases.
2021-03-14 06:20:23 +01:00
James Cole
d82fe2ab4c
Max out the number of iterations
2021-03-14 04:55:48 +01:00
James Cole
07f62b0d5c
Fix budget limit tests
2021-03-13 20:01:42 +01:00
James Cole
25bc0b0b78
Expand test cases.
2021-03-13 19:47:19 +01:00
James Cole
1f50f65bb7
Finish budget tests.
2021-03-13 19:03:08 +01:00
James Cole
fdcd6befb6
Completed bill tests.
2021-03-13 17:16:38 +01:00
James Cole
c9f7f877c0
Expand API test to bill store.
2021-03-13 16:47:29 +01:00
James Cole
bdb298740a
Also test attachments.
2021-03-13 14:33:48 +01:00
James Cole
bd040c80b2
Fix account API tests.
2021-03-13 13:26:45 +01:00
James Cole
7118abe28d
Fix some tests for account API
2021-03-13 12:01:01 +01:00
James Cole
81f5224b11
Clean up old tests.
2021-03-12 18:31:19 +01:00
James Cole
02cd0600ea
Update some copyrights.
2021-01-29 18:50:35 +01:00
James Cole
b263120c8f
Add newlines and strict types check.
2020-12-22 05:35:06 +01:00
James Cole
413df5a005
Expand tests
2020-11-07 14:05:53 +01:00
James Cole
372c6ac667
Various issues fixed (SonarQube)
2020-10-26 19:15:57 +01:00
James Cole
a7d15ef287
Temp fix for tes
2020-10-26 06:45:24 +01:00
James Cole
4c10f2b960
Test improv
2020-10-18 08:01:22 +02:00
James Cole
acfc976f6d
New tests
2020-10-10 11:21:14 +02:00
James Cole
76cfdef27d
Remove old tests. To be reinstated later.
2020-10-10 11:20:52 +02:00
James Cole
6671c6d45c
Create some new test code.
2020-10-04 10:56:10 +02:00
James Cole
093f34b7a8
Account search fixed.
2020-08-28 11:24:55 +02:00
James Cole
cd156d6991
Fix #3740
2020-08-26 20:18:27 +02:00
James Cole
0fd7dabbc1
Restore missing functions.
2020-08-24 07:38:33 +02:00
James Cole
3141ec0406
Expand search.
2020-08-24 07:03:17 +02:00
James Cole
fecc9f7659
Fix actions and associated tests.
2020-08-23 16:12:16 +02:00
James Cole
139b3ffab4
Test more rule actions.
2020-08-23 09:21:50 +02:00
James Cole
febe60b3d1
Test more actions in new format.
2020-08-23 08:51:58 +02:00
James Cole
fc519c41bc
Update conversion actions.
2020-08-23 08:03:28 +02:00
James Cole
6e074d9b8b
Start testing new rule actions.
2020-08-23 07:42:14 +02:00
James Cole
216a0a186c
Implement first version of the new rule engine.
2020-08-22 16:55:54 +02:00
James Cole
ab5a146277
Rename class.
2020-08-22 13:01:37 +02:00
James Cole
ffca935ced
Expand search.
2020-08-22 12:24:01 +02:00
James Cole
723d1cffe2
Fix some tests, disable actions for the time being.
2020-08-01 15:06:02 +02:00
James Cole
43fc4c5f52
Expand some test code.
2020-08-01 07:55:55 +02:00
James Cole
8cebd03298
Fix namespace.
2020-08-01 05:46:10 +02:00
James Cole
57cb325639
Optimise tests
2020-08-01 05:34:32 +02:00
James Cole
e0b71c316b
Fix first test!
2020-08-01 05:32:38 +02:00
James Cole
ad76afe4f6
Correct namespace and location.
2020-08-01 05:32:17 +02:00
James Cole
895762ff18
Move tests
2020-08-01 05:31:26 +02:00
James Cole
8a91618f8d
Merge branch 'develop' into feature/ci
2020-07-31 04:55:23 +00:00
James Cole
cd19e86141
Clean up test code, prep for merge.
2020-07-31 06:53:48 +02:00
James Cole
0264184442
New trait for tests
2020-07-31 06:21:03 +02:00
James Cole
93856a3c57
Basic test, no value.
2020-07-30 21:16:14 +02:00
James Cole
7ad1458ad7
Fix test with DB fixtures
2020-07-30 20:56:12 +02:00
James Cole
5ae786516a
Mark all tests as incomplete.
2020-07-30 20:49:40 +02:00
James Cole
a590cfd881
Clean up test case
2020-07-30 20:48:47 +02:00
James Cole
d6564f7b7b
Clean up test code.
2020-07-30 20:48:07 +02:00
Hosh Sadiq
8f568d41ca
Add initial continuous integration
...
Currently it will run phpunit, check coding standards and run
phpstan. This can and should be build upon, so that eventually builds
are automated and hopefully reproducable.
2020-07-27 19:47:22 +01:00
Hosh Sadiq
14dd185717
Use php-intl to format currencies
...
Currently the php function `number_format` is used to format currencies.
This is problematic as we have to figure out different things for
different currencies ourselves. These formats are determined based on
the libc's locale functions.
The issue arises where an OS doesn't have the proper locales installed,
or, in some cases, it's not supported (see below on multiple issues).
This addresses this issue by using the php-intl extensions to format the
numbers based on the locale. The extension is already a requirement in
`composer.json`. The solution does not rely on `LC_MONETARY` from the
underlying libc (which in Alpine Linux's case, which uses musl, is not
supported as of yet).
List of issues that are related and would potentially be fixed using
this PR:
- #2298
- #2946
- #3070
- #3306
- #3519
2020-07-19 18:34:39 +01:00
James Cole
f14ac5928f
Fix some tests.
2020-07-17 18:51:54 +02:00
James Cole
72a2718a93
Fix tests
2020-07-12 17:28:43 +02:00
James Cole
415fb7294c
Fix sonarcloud issues
2020-06-27 17:33:18 +02:00
James Cole
b83d06294d
Drop Sandstorm related code.
2020-06-27 15:19:00 +02:00
James Cole
6cc4d14fcb
Remove import code.
2020-06-06 21:23:26 +02:00
James Cole
f3ac8a5888
Add newlines and remove some unused translations.
2020-05-30 07:33:06 +02:00
James Cole
74683b18f2
Fix bad namespace.
2020-03-18 15:38:28 +01:00
James Cole
524f85b9c1
Delete import related tests
2020-03-15 15:33:00 +01:00
James Cole
328c960950
Fix API tests
2020-03-15 15:32:09 +01:00
James Cole
7f46cf805c
Update email address.
2020-02-16 13:59:55 +01:00
James Cole
d0d5dea5ce
Update email address.
2020-02-16 13:59:41 +01:00
James Cole
ff44dbaea0
Update analytics code.
2020-01-17 04:30:44 +01:00
James Cole
39d61feede
Update some tests.
2020-01-05 19:29:28 +01:00
James Cole
d5416bad7c
Final tests for #2723
2019-12-26 11:37:49 +01:00
James Cole
952c9aad23
More tests for #2723
2019-12-26 11:29:54 +01:00
James Cole
fc8400cdf9
Fix and expand tests for #2723
2019-12-26 11:06:38 +01:00
James Cole
a416b682e0
Fix some tests
2019-12-22 07:50:40 +01:00
James Cole
dcd6a8d79f
Remove import tests
2019-12-22 07:45:30 +01:00
James Cole
78481b8aa9
Update copyright of Firefly III to the GNU Affero General Public License as suggested by @nxxxse in #2607 . This applies to all code in this commit from this moment onwards.
2019-10-02 07:00:58 +02:00
James Cole
c341d46e9f
Update copyright of Firefly III to the GNU Affero General Public License as suggested by @nxxxse in #2607 . This applies to all code in this commit from this moment onwards.
2019-10-02 06:45:03 +02:00
James Cole
30f454d38a
Fix tests
2019-09-06 17:19:21 +02:00