Commit Graph

1071 Commits

Author SHA1 Message Date
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
James Cole
eb0d269ce7
Fix #2545 2019-09-06 09:37:00 +02:00
James Cole
5623c3c43f Clean up some tests 2019-09-04 21:05:50 +02:00
James Cole
f9f1fa0fcb Clean up API code and fix test code. 2019-09-04 17:39:39 +02:00
James Cole
f52584d46b Remove unused code. 2019-09-04 16:07:44 +02:00
James Cole
5c468e1c49 Fix #2383 2019-09-04 09:20:26 +02:00
James Cole
401086b75f Remove unused code. 2019-09-03 15:43:11 +02:00
James Cole
9d8625df3b Fix some pointers in test code [skip ci] 2019-08-29 21:32:50 +02:00
James Cole
19feefda2d Improve test coverage. 2019-08-29 17:53:25 +02:00
James Cole
f4eca2d4ae Test new category code. 2019-08-28 17:01:48 +02:00
James Cole
5fb7635100 Remove double lines from code. 2019-08-28 16:28:14 +02:00
James Cole
02df24bbc9 Possible fix for #2437 2019-08-23 09:41:31 +02:00
James Cole
12a64fefc8
Fix test. 2019-08-17 12:31:55 +02:00
James Cole
fc78c32fca
Add newline to files 2019-08-17 12:09:03 +02:00
James Cole
b53cbbe469
Fix test coverage. 2019-08-17 12:08:09 +02:00
James Cole
1d4434698e
Fix some tests. 2019-08-17 11:32:05 +02:00
James Cole
6d1bfd3956
Code cleanup 2019-08-17 10:54:16 +02:00
James Cole
1974d5f1e3
Code cleanup 2019-08-17 10:48:28 +02:00
James Cole
893c83e086
Fix tests. 2019-08-12 17:36:37 +02:00
James Cole
76dad84ba6
Updated translations. 2019-08-12 17:12:11 +02:00
James Cole
8545d73119
Fix tests 2019-08-11 07:25:59 +02:00
James Cole
0097c66522
Refactor journal repositories. 2019-08-10 14:41:08 +02:00
James Cole
93f1854be0
Refactor journal repository and fix tests. 2019-08-10 13:42:33 +02:00
James Cole
1e3d85439e
Last minute fixes in test code and UI 2019-08-09 18:06:43 +02:00
James Cole
fd2f4e1459
Fix test coverage. 2019-08-09 05:58:52 +02:00
James Cole
2147caf3ef
Fix tests 2019-08-04 11:12:24 +02:00
James Cole
62b5cf04ad
Refactor tests and code to handle new 2FA methods. 2019-08-04 10:27:37 +02:00
James Cole
7f1bd19e45
remove "twoFactorAuthEnabled" from preferences. Kill switches for all code that references them (easier for refactor) 2019-08-03 19:46:12 +02:00
James Cole
cf121fea50
Improve test coverage. 2019-08-03 14:45:37 +02:00
James Cole
75c2529d3e
Improve test coverage. 2019-08-03 10:50:43 +02:00
James Cole
40dd2e0f7f
Improve test coverage. 2019-08-03 04:46:47 +02:00
James Cole
b049ca27f1
Improve test coverage. 2019-08-01 06:21:44 +02:00
James Cole
9b574ce7ad
Improve test coverage. 2019-07-31 16:53:09 +02:00
James Cole
67c0ef6ec6
Improve test coverage. 2019-07-27 13:54:06 +02:00
James Cole
d94d34ca63
Expand test coverage. 2019-07-26 17:48:24 +02:00
James Cole
6ff4a0b45c
Improve test coverage. 2019-07-25 14:19:49 +02:00
James Cole
ee95606ec0
Improve test coverage. 2019-07-24 19:02:41 +02:00
James Cole
226e2f7185
Improve test coverage. 2019-07-23 17:33:23 +02:00
James Cole
1e7e0facf1
Improve test coverage. 2019-07-22 19:23:14 +02:00
James Cole
b7a4b0fdfd
Refactored a lot of tests. 2019-07-21 17:15:06 +02:00
James Cole
8f9ba21f4d
Fix test coverage. 2019-07-20 22:32:40 +02:00
James Cole
889b7e9a18
Improve mass controller and test controllers. 2019-07-20 16:02:50 +02:00
James Cole
6d34cfb940
Implemented new link thing. 2019-07-20 06:47:34 +02:00
James Cole
63832b31f8
Improve test coverage 2019-07-20 06:22:37 +02:00
James Cole
4de537ce76
New code for edit transaction, and some tests. 2019-07-19 16:08:42 +02:00
James Cole
3eb695f2ad
Fix test for convert controller. 2019-07-13 20:57:06 +02:00
James Cole
7fd3f77c3e
Make sure the convert controller works again. 2019-07-05 19:43:16 +02:00
James Cole
5bbe1eab7c
Expand test coverage and improve transaction management code. 2019-07-01 20:22:35 +02:00
James Cole
947b83cbd1
Improve test coverage. 2019-06-29 19:47:31 +02:00
James Cole
003d07504f
Improve test coverage. 2019-06-29 08:14:28 +02:00
James Cole
cf904eb677
Big bunch of code to improve test coverage. 2019-06-25 19:24:01 +02:00
Sander Kleykens
9e9e5bd6dd CSV file fix for ING Belgium
Parse the description and opposing account information (IBAN and name) from ING Belgium CSV files.
2019-06-23 22:24:52 +02:00
James Cole
43d753e5bd
Improve test coverage and efficiency for accounts and budgets. 2019-06-23 11:13:36 +02:00
James Cole
8f25562923
Refactor fiscal helper in tests. 2019-06-23 10:40:46 +02:00
James Cole
c98d2187a0
Removed unused test file. 2019-06-23 10:38:54 +02:00
James Cole
9f50c5db3d
Finalise account tests 2019-06-23 05:53:01 +02:00
James Cole
2710a30a7c
Warn about expensive code in test environment. 2019-06-22 10:25:57 +02:00
James Cole
0f70cc5780
Improve account CRUD and tests. 2019-06-22 10:25:34 +02:00