Commit Graph

995 Commits

Author SHA1 Message Date
James Cole
d8addc3175 Tag controller tests. 2018-10-07 10:46:11 +02:00
James Cole
50ab1fa3f0
Test improvement for import routine. 2018-09-30 20:14:17 +02:00
James Cole
e33bbc6f16
Expand test coverage. 2018-09-30 11:57:51 +02:00
James Cole
b1e742c26c
Fix tests. 2018-09-27 13:11:31 +02:00
James Cole
214c7a6f3e Improve test results. 2018-09-27 06:26:03 +02:00
James Cole
6c4f967c39 Fix for #1728 2018-09-27 05:57:06 +02:00
James Cole
fea5510700 Add some test code. 2018-09-26 20:35:27 +02:00
James Cole
d49a13b091
Merge branch 'develop' of https://github.com/firefly-iii/firefly-iii into develop
* 'develop' of https://github.com/firefly-iii/firefly-iii:
  remove first slash in mass transaction changes
- Fix user event handler test
- Fix 404 view
2018-09-23 07:39:31 +02:00
James Cole
972721b183
Fix tests. 2018-09-18 18:47:42 +02:00
James Cole
3d91a186d5
Remove credit card liability type from system. 2018-09-18 18:17:55 +02:00
James Cole
d9f515900c Expand code coverage. 2018-09-15 13:44:36 +02:00
James Cole
57b4a5be08 Code and tests for #1450 2018-09-15 13:43:57 +02:00
James Cole
0b3b9af623 Fix test for fixed chart category controller 2018-09-12 12:57:14 +02:00
James Cole
9a34bb7e7a Small test fixes. 2018-09-10 20:22:02 +02:00
James Cole
155480b335 Code for #1671 2018-09-10 16:18:35 +02:00
James Cole
d4b82a33c5 After pulling the code from @hamuz I realised the test was disabled. So I enabled it again. I had to change two test results. One was a 0 value not being negative, the other was due to the 12 decimal cut off (Firefly III configuration). 2018-09-09 17:11:07 +02:00
HamuZ HamuZ
9df2d86ac2 Add support for negated amount. Closes #1660 and #1650. 2018-09-09 13:35:21 +03:00
James Cole
b33f8b70d4 Improve code coverage. 2018-09-07 20:12:22 +02:00
James Cole
c3a9415208 Fine tune test content. 2018-09-06 13:56:18 +02:00
James Cole
03956af88a Warn when classes are used in testing environment; this means tests aren't efficient. 2018-09-06 12:29:32 +02:00
James Cole
4ef663669c Unset transaction source so the duplicate detector keeps working. 2018-09-06 07:40:56 +02:00
James Cole
7bca2298a0 Fix tests for new transaction source routine. 2018-09-06 07:37:44 +02:00
James Cole
226b3cfdd8 Update meta files and language files for new release. 2018-09-04 19:07:02 +02:00
James Cole
d43fa3790d Update tests so repositories are not called. Saves on DB calls, speeds up tests. 2018-09-04 16:47:01 +02:00
James Cole
07edbe758a Update tests so repositories are not called. Saves on DB calls, speeds up tests. 2018-09-04 09:52:19 +02:00
James Cole
46ba0a5a5a Mock more repositories in tests. 2018-09-03 18:52:46 +02:00
James Cole
bb9f763729 Repositories will now warn if used in test environment. 2018-09-03 08:41:03 +02:00
James Cole
eaf2667abb Fix test method names. 2018-09-02 20:27:26 +02:00
James Cole
de754ca4e0 Improve test coverage. 2018-09-02 20:13:25 +02:00
James Cole
02370fb65d Fix final tests 2018-09-01 20:45:05 +02:00
James Cole
13f72c73fb Expand test coverage. 2018-08-31 21:12:53 +02:00
James Cole
33fe6dbfa3 First step in improving test coverage. 2018-08-30 20:58:07 +02:00
James Cole
59f4ecdaa6 The net worth chart will respect net worth preferences. 2018-08-29 10:57:42 +02:00
James Cole
40ca72c656 Reference to unknown chart. 2018-08-28 14:20:04 +02:00
James Cole
0e2e8d1be5 Fix new category chart tests. 2018-08-27 21:06:46 +02:00
James Cole
1d1aa5dd3a Fix tests for multi currency account charts. 2018-08-27 20:33:52 +02:00
James Cole
0d82589916 Make some charts currency aware for #740 2018-08-27 18:59:30 +02:00
James Cole
3764499714 Expand API to accept liability accounts. 2018-08-26 21:29:46 +02:00
James Cole
8c1d1d1db0 Improved implementation of liability accounts and the option to add or remove accounts from the net-worth calculations. 2018-08-26 18:40:38 +02:00
James Cole
7dc72a2894 Add the ability to make transactions to and from liability accounts. 2018-08-25 22:10:10 +02:00
James Cole
c55b80f467 Update test coverage. 2018-08-25 20:45:42 +02:00
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