Commit Graph

954 Commits

Author SHA1 Message Date
James Cole
29a81eb05e Fix test coverage. 2018-08-24 21:14:17 +02:00
James Cole
835a421909 Refactor rule processor so it's testable. 2018-08-24 17:57:34 +02:00
James Cole
850a0ae17e Improved code coverage for events and reports. 2018-08-24 16:07:33 +02:00
James Cole
2b54363dd7 Improve test coverage. 2018-08-24 07:18:33 +02:00
James Cole
d4096103cb Improve test coverage and fix test code. 2018-08-23 18:33:39 +02:00
James Cole
f319005357
Fix tests. 2018-08-17 06:45:57 +02:00
James Cole
9914c0791e
Rename journal collector to more fitting transaction collector. 2018-08-11 14:33:47 +02:00
James Cole
b1b13d3696
Can no longer set a budget to an expense. 2018-08-09 20:49:30 +02:00
James Cole
eefa84a77b
Remove method pointers from tests. 2018-08-09 20:17:15 +02:00
James Cole
5908b4b000
Route fixes and fix tests. 2018-08-09 19:44:36 +02:00
James Cole
cd2a251f22
Reinstate description for rule group. 2018-08-07 17:54:37 +02:00
James Cole
5908c0ce8c
Code cleanup and realign. 2018-08-06 19:14:30 +02:00
James Cole
049c93465a
Update tests 2018-08-05 20:42:45 +02:00
James Cole
33294dd9f0
Allow editing of liabilities. 2018-08-05 18:59:15 +02:00
James Cole
2290fcde22 First code for liabilities and some tests. 2018-08-03 16:35:55 +02:00
James Cole
194073e49a
Fix tests. 2018-07-31 20:39:36 +02:00
James Cole
6d4956b574
Updated files for 4.7.5.2 2018-07-28 12:10:25 +02:00
James Cole
0ccc1271a6
Update tests. 2018-07-27 06:06:29 +02:00
James Cole
26fa2b0b74
Speed up category test. 2018-07-27 06:02:34 +02:00
James Cole
0312ba8ad7 Various bugfixes and code clean up. 2018-07-27 04:46:21 +02:00
James Cole
7c950c3022 Remove a lot of deprecated code. 2018-07-25 06:45:25 +02:00
James Cole
06d22e843a Code optimizations. 2018-07-23 21:49:15 +02:00
James Cole
a616e06f9d Add newlines to tests. [skip ci] 2018-07-22 20:33:17 +02:00
James Cole
ec7ef3a813
Various fixes for tests and code quality. 2018-07-20 20:53:48 +02:00
James Cole
49ff6febe5
Fix tests. 2018-07-20 16:28:54 +02:00
James Cole
f22b54de30
Clean up sandstorm tests. 2018-07-18 07:16:46 +02:00
James Cole
8fde16422e See if this is the solution in Scrutinizer as well. 2018-07-14 23:32:03 +02:00
James Cole
c424bb097d Improve category code quality. 2018-07-14 22:48:22 +02:00
James Cole
e4b1760b20 Remove exit clause from test. 2018-07-14 17:33:10 +02:00
James Cole
3d1523a060 Improve randomness in test data to prevent key collisions. 2018-07-14 16:41:07 +02:00
James Cole
b8699422c8 Refactor budget controller. 2018-07-14 15:22:21 +02:00
James Cole
9116796d90 Refactor account code and tests. 2018-07-14 11:45:05 +02:00
James Cole
a95fdb903b Refactor account controller and some associated tests. 2018-07-14 11:16:12 +02:00
James Cole
0da370c42d Not really a solution for the test, but might work. 2018-07-13 18:45:11 +02:00
James Cole
6f036d9120 Fix test. 2018-07-13 17:02:23 +02:00
James Cole
d872484607 Speed up category tests. 2018-07-13 06:52:53 +02:00
James Cole
bcdb849b46 Update for bug fix release. 2018-07-13 06:12:39 +02:00
James Cole
5846431b34 Various code coverage changes and code updates. 2018-07-12 21:32:58 +02:00
James Cole
0237d78f61 Fix some tests. 2018-07-09 19:42:53 +02:00
James Cole
b315882f58 Various code cleanup. 2018-07-08 12:08:53 +02:00
James Cole
8e08ff2d39 Fix the transaction factory and associated tests. 2018-07-07 22:28:08 +02:00
James Cole
bdc6678341 Fix unit tests. 2018-07-05 21:44:13 +02:00
James Cole
1675a0d442 Fix unit tests. 2018-07-05 20:15:20 +02:00
James Cole
c0d2cd8962 Fix unit tests. 2018-07-05 19:39:17 +02:00
James Cole
146c9fd947 Fix unit tests. 2018-07-05 19:02:22 +02:00
James Cole
666e9897ea Fix unit test. 2018-07-05 18:42:51 +02:00
James Cole
339fb5099f Fix test. 2018-07-03 20:33:12 +02:00
James Cole
cf56707b02 Add more fake entropy. 2018-07-03 20:10:14 +02:00
James Cole
8eb4259be0 Last minute test fixes. 2018-07-03 19:04:46 +02:00
James Cole
d3a1f43cbb Some last-minute fixes. 2018-07-03 18:24:43 +02:00
James Cole
d48c3a6d2f Fix tests 2018-07-03 05:52:27 +02:00
James Cole
2e67bd3b78 New test code. 2018-07-02 20:02:20 +02:00
James Cole
f27eb084c7 Test the currency exchange controller. 2018-07-02 16:06:49 +02:00
James Cole
3bca9b06f8 Implement category and configuration tests. 2018-07-01 21:27:25 +02:00
James Cole
d97fdc3393 Implement budget limit API tests 2018-07-01 21:02:39 +02:00
James Cole
7dc72f98bf Include tests for budget API 2018-07-01 20:19:34 +02:00
James Cole
da00179066 Test available budget API. 2018-07-01 18:58:41 +02:00
James Cole
89910031cd Test the attachment controller. 2018-07-01 18:31:02 +02:00
James Cole
5676aeac80 Improve test filter. 2018-07-01 16:13:22 +02:00
James Cole
b0b9055e2e Remove extra semi-colon. 2018-07-01 15:48:02 +02:00
James Cole
c0aefed764 Fix extra semicolon in test description 2018-07-01 14:55:06 +02:00
James Cole
e2ec9ca5fb Improve amount conversion code. 2018-07-01 13:34:57 +02:00
James Cole
8e38f5c2c0 Disable amount debit and credit tests. 2018-07-01 12:34:58 +02:00
James Cole
b43669e731 Update amount test codes. 2018-07-01 10:32:27 +02:00
James Cole
c55aebd005 Fix credit test. 2018-07-01 10:11:41 +02:00
James Cole
ce236284f4 Update test code. 2018-07-01 09:52:56 +02:00
James Cole
db149ca6e1 Fix tests. 2018-07-01 09:27:22 +02:00
James Cole
c9356c1237
Restructure code to rename a variable. 2018-06-30 05:21:21 +02:00
James Cole
181c23b07c Various updated code for recurring transactions. 2018-06-15 22:06:33 +02:00
James Cole
4a548ac282 Fix #1474 2018-06-09 05:50:31 +02:00
James Cole
c7af25ac38 Fix last minute issues. 2018-06-03 08:23:49 +02:00
James Cole
332d32c319 Fix tests 2018-06-02 20:02:42 +02:00
James Cole
ddc1d81665 Fix tests, improve coverage. 2018-06-02 06:11:13 +02:00
James Cole
6ed5be10b1 Expand test coverage. 2018-06-01 22:20:08 +02:00
James Cole
a7b8470d9e Expand test coverage. 2018-06-01 22:04:52 +02:00
James Cole
4c04415e80 Fix #1452. 2018-06-01 13:11:10 +02:00
James Cole
3654e75b8c Improve test coverage. 2018-06-01 06:40:24 +02:00
James Cole
66fa73aea4 Fix tests. 2018-06-01 05:49:41 +02:00
James Cole
df87d03f32 FF3 will apply rules when importing from bunq #1443 2018-06-01 05:49:33 +02:00
James Cole
fb07c68132 Updated tests 2018-05-31 20:04:19 +02:00
James Cole
b33ca786ae
use cases for rules tested. 2018-05-30 18:05:06 +02:00
James Cole
c339a183b9
Fix code coverage and a test #1443 2018-05-30 18:04:43 +02:00
James Cole
fcf9b782c1
Improve code coverage. #1443 2018-05-25 23:13:08 +02:00
James Cole
d693d382b9
Handle different account types #1443 2018-05-25 17:31:41 +02:00
James Cole
e953becbae
Expand test coverage for bunq. 2018-05-25 08:38:15 +02:00
James Cole
ff45c94106
Test coverage for routine and prerequisites. 2018-05-25 06:29:51 +02:00
James Cole
7d88d35556
Fix test for coverage. 2018-05-23 08:38:05 +02:00
James Cole
467c6762fa
Catch all edge cases. 2018-05-22 18:42:34 +02:00
James Cole
740f4e403f
Improve coverage for Spectre 2018-05-22 18:05:35 +02:00
James Cole
b195a61498
Improve coverage for Spectre. 2018-05-21 19:17:33 +02:00
James Cole
94e6816bf6
Improve test coverage. 2018-05-21 17:28:09 +02:00
James Cole
ebf97f710f
Refactor code and fix tests. 2018-05-21 09:40:19 +02:00
James Cole
714b54ed06
Refactor and rename test code. 2018-05-21 07:22:38 +02:00
James Cole
620c5f515e
Improve test coverage, remove dead code. 2018-05-20 16:26:27 +02:00
James Cole
c06fd12b07 Fix test coverage. 2018-05-19 22:23:08 +02:00
James Cole
5a093b58d8
Prep for bunq and spectre import. 2018-05-13 15:00:30 +02:00
James Cole
1aae84a4d0
Optimise tests and coverage. 2018-05-13 09:01:10 +02:00
James Cole
ccee7b483c
Fix tests 2018-05-12 16:04:46 +02:00
James Cole
5903133e3b
Remove return type. 2018-05-12 15:54:20 +02:00
James Cole
5bf520b6ed
Code consistency and new tests. 2018-05-12 15:50:01 +02:00
James Cole
a47da92d81
Test coverage for opposing account mapper. 2018-05-12 13:27:02 +02:00
James Cole
63f84ae7b1
Lots of refactoring and new tests. 2018-05-12 10:46:18 +02:00
James Cole
4d6bc55723
Update test code. 2018-05-11 19:58:10 +02:00
James Cole
c47a5379ae
Improve code test coverage. 2018-05-11 10:37:13 +02:00
James Cole
5a560b42ef
Improve test coverage. 2018-05-11 09:51:47 +02:00
James Cole
6f984aa591 Improve test coverage. 2018-05-10 23:01:21 +02:00
James Cole
274162afcd
Fix test that could come up with journals with 0 transactions, and improve test coverage for file routine. 2018-05-10 20:05:02 +02:00
James Cole
cabcb9c6d0
Basic storage routine works, basic file handling. 2018-05-10 09:10:16 +02:00
James Cole
f74b9ba7ab Add strict types and newlines. 2018-05-05 16:51:32 +02:00
James Cole
3ac240dc1c Add some randomness to test data. 2018-05-05 15:18:41 +02:00
James Cole
d233b3f24f Improve test (coverage). 2018-05-05 14:40:12 +02:00
James Cole
19fff681d2
Improve test coverage, mark as deprecated. 2018-05-05 13:53:12 +02:00
James Cole
bc7c3bb9b3
Improve test coverage and remove deprecated code. 2018-05-05 11:03:10 +02:00
James Cole
57be7f2905
Fix test coverage, ignore all other routines. 2018-05-05 06:47:35 +02:00
James Cole
1c0da454db
Improved code for new import + some tests. 2018-05-04 20:21:27 +02:00
James Cole
e126427809
Improve code quality and fix test coverage. 2018-04-28 10:27:33 +02:00
James Cole
b66daad3d3
Fix coverage. 2018-04-28 05:40:23 +02:00
James Cole
5d4467a6c0
Improve test speed. 2018-04-27 12:39:25 +02:00
James Cole
bb25132865
Fix tests 2018-04-27 11:29:09 +02:00
James Cole
6f974fe285
Improve API and test coverage. 2018-04-15 19:20:24 +02:00
James Cole
a85ebb49b2
Improve test coverage. 2018-04-15 14:03:23 +02:00
James Cole
ae273f8320
Also test PHP 7.2 2018-04-15 10:44:47 +02:00
James Cole
62b68c6a21
Fix tests. 2018-04-14 21:21:20 +02:00
James Cole
73fee4eb6b
Fix #1313 2018-04-03 19:15:06 +02:00
James Cole
5d1c77cb16
New version: 4.7.2.1 2018-04-02 15:40:43 +02:00
James Cole
f96f38b172
Code cleanup. 2018-04-02 14:17:11 +02:00
James Cole
52656b25da
Let's cancel these tests for now. 2018-04-01 08:04:19 +02:00
James Cole
1386c9d915
Disable some tests. 2018-04-01 07:40:30 +02:00
James Cole
5ce35a50c2
Make sure tests work. 2018-03-31 21:05:06 +02:00
James Cole
8f3e84df4d
Fix possible null pointer. 2018-03-30 22:40:20 +02:00
James Cole
08ff3d8ad0
Implement test of import command. 2018-03-30 19:41:16 +02:00
James Cole
5c4d7734ac
Expand test code for create export routine. 2018-03-30 16:44:33 +02:00
James Cole
0a71077513
Push updated tests. 2018-03-28 19:38:20 +02:00
James Cole
6660306ac4
Various code cleanup. 2018-03-25 09:01:43 +02:00
James Cole
55602d632d
Clean up code for import routine. 2018-03-24 10:35:42 +01:00
James Cole
dafddfa39a
Fix all tests. 2018-03-24 06:08:50 +01:00
James Cole
3e22c9860e
Fix some tests. 2018-03-23 05:31:45 +01:00
James Cole
fb0a0c3fb5
Fix a few tests. 2018-03-23 05:31:30 +01:00
James Cole
3fdb782321
Fix various tests. 2018-03-11 21:19:35 +01:00
James Cole
5776de7745
Update various tests. 2018-03-11 18:46:41 +01:00
James Cole
b12872e5de
Various code cleanup. 2018-03-11 16:24:07 +01:00
James Cole
04b2eaf535
Fix tests that broke during Laravel 5.6 upgrade 2018-03-09 06:46:45 +01:00
James Cole
1b020c522f
Fix currency test. 2018-03-08 21:02:46 +01:00
James Cole
99f5151aab
Remove coverage for methods that do not exist. 2018-03-07 20:39:33 +01:00
James Cole
e2d1de94b7
Fix tests to catch use of repositories 2018-03-07 10:18:50 +01:00
James Cole
a5fd821e0c
Code to implement #1168 and #1197. 2018-03-07 10:18:22 +01:00
James Cole
6c63583e49
Fix test to always select correct journal. 2018-03-07 05:52:45 +01:00
James Cole
d52d8d7970
Expand exception code and fix demo user redirect. 2018-03-07 05:51:51 +01:00
James Cole
72314e2d9f
Expand tests for updated triggers / actions. 2018-03-04 17:10:36 +01:00
James Cole
d22fb9f438
Improve tests for transaction rules. 2018-03-04 16:42:29 +01:00
James Cole
04b8552d27
Implement tests. 2018-03-04 16:30:20 +01:00
James Cole
5d6f44cd91
Fix test that could select a deposit or transfer. 2018-03-04 16:07:03 +01:00
James Cole
afc8ad7ff5
Clean test. 2018-03-04 15:57:19 +01:00
James Cole
39c8b79ebb
Add newlines to files [skip ci] 2018-03-04 15:14:29 +01:00
James Cole
84f0ee183c
Fix tests. 2018-03-04 09:49:15 +01:00
James Cole
7171e69715
All API routes seem to work. 2018-03-04 08:22:32 +01:00
James Cole
2ab44fb33a
Improve test coverage. 2018-03-04 07:56:30 +01:00
James Cole
7542175258
Improve test coverage. 2018-03-03 17:16:47 +01:00
James Cole
9dc4c50527
Expand test coverage. 2018-03-03 14:24:06 +01:00
James Cole
99d116f4ce
Improve test coverage. 2018-03-03 10:15:39 +01:00
James Cole
9475fef8f6
Implement user API and first tests. 2018-03-03 08:12:18 +01:00
James Cole
60339a0f6a
make sure randomly selected journals match prerequisites. 2018-03-02 17:29:47 +01:00
James Cole
36113f84be
make sure randomly selected journals match prerequisites. 2018-03-02 17:07:32 +01:00
James Cole
a23d97563f
Fix tests that selected split journals. 2018-03-01 21:39:31 +01:00
James Cole
06dc8a499b
Expand factory tests. 2018-03-01 20:54:50 +01:00
James Cole
e803a5e26e
Fix test coverage. 2018-03-01 17:20:06 +01:00
James Cole
5b8adbfd0c
Repository and test clean up. 2018-02-28 21:32:59 +01:00
James Cole
fdd2dedfc6
Fix test cases. 2018-02-28 20:18:47 +01:00
James Cole
46f4fa1a7d
Expand tests. 2018-02-28 15:50:00 +01:00
James Cole
1b304bf85e
use journal repository instead of direct calls. 2018-02-25 19:09:05 +01:00
James Cole
1a643e2042
Expand tests 2018-02-25 17:38:24 +01:00
James Cole
ac66e89edb
Expand some tests. 2018-02-24 09:18:01 +01:00
James Cole
9f37bf5875
Fix budget controller tests. 2018-02-21 09:23:20 +01:00
James Cole
f16760d607
Expand API validation. 2018-02-20 18:03:02 +01:00
James Cole
4e6afd5afc
Remove todo items [skip ci] 2018-02-19 20:32:44 +01:00
James Cole
cae4faad0a
Expand tests. 2018-02-19 20:02:27 +01:00
James Cole
e389d0f7fa
Expand tests 2018-02-19 19:45:13 +01:00
James Cole
5bb7530642
Expand tests. 2018-02-18 20:40:32 +01:00
James Cole
0b61c16eb0
Expand test cases for transaction creation through the API. 2018-02-18 19:55:35 +01:00
James Cole
77aced6734
Test every happy path for journal creation. 2018-02-18 16:35:26 +01:00
James Cole
f8bf6c163f
Add some factory stuff before another refactoring. 2018-02-18 10:49:42 +01:00
James Cole
eb0da038fb
Expand tests and API code. 2018-02-18 10:31:15 +01:00
James Cole
6cda9f2900
Expand tests for account API. 2018-02-17 19:56:45 +01:00
James Cole
ecd4a862ff
Tests for API controllers 2018-02-17 14:46:12 +01:00
James Cole
632d50a0d0
Fix all tests. 2018-02-17 14:14:26 +01:00
James Cole
0f1cc46b71
Fix JSON tests 2018-02-17 12:33:42 +01:00
James Cole
23e540a57a
Fix missing methods in account controller test 2018-02-17 10:50:47 +01:00
James Cole
1998412a3c
Remove API tests for the time being. 2018-02-17 10:48:31 +01:00
James Cole
049e57d578
New tests for object transformers. 2018-02-17 10:47:06 +01:00
James Cole
78ba0f749c
tests for bill and attachment transformers. 2018-02-16 22:47:08 +01:00
James Cole
278b7ac52b
First tests for transformers. 2018-02-16 22:14:34 +01:00
James Cole
2e61bb7375
Fix tests. 2018-02-10 09:22:04 +01:00
James Cole
95648c37b3
Various code cleanup. 2018-02-09 19:11:55 +01:00
James Cole
d4a84ed198
Update tests. 2018-02-07 16:49:11 +01:00
James Cole
e8c7986a58
Rename binder test 2018-02-07 16:20:40 +01:00
James Cole
dd4158c6b4
Expand tests 2018-01-29 19:09:00 +01:00
James Cole
f50550d79c
Fix unit tests 2018-01-25 20:38:50 +01:00
James Cole
7c70732247
Some light refactoring. No changes. 2018-01-25 18:41:27 +01:00
James Cole
9a2c6c2967
Expand test coverage. 2018-01-24 11:09:21 +01:00
James Cole
48fa86cc54
Improve some test coverage. 2018-01-21 18:06:57 +01:00