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