Commit Graph

1128 Commits

Author SHA1 Message Date
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
James Cole
2d3d7f7720
Some generic code refactoring. 2019-06-21 19:10:02 +02:00
James Cole
fb1af395f9
New command and test 2019-06-21 19:07:11 +02:00
James Cole
e80cde86d6
Remove dead code. 2019-06-21 19:05:28 +02:00
James Cole
72c0d7a874
Improve test coverage and quality 2019-06-16 13:16:46 +02:00
James Cole
5d1cfc661f
Optimise test code. 2019-06-13 18:07:49 +02:00
James Cole
6964424bdc
Finish command tests 2019-06-13 15:48:35 +02:00
James Cole
6bcb2ec144
Expand test coverage 2019-06-13 07:17:31 +02:00
James Cole
aacd218056
Improve test coverage. 2019-06-13 06:39:05 +02:00
James Cole
5f768a0525
Fix budget limit test, and a bug in the other currencies corrector. 2019-06-11 21:21:50 +02:00
James Cole
2ab9d2e6ee
Improve test coverage. 2019-06-10 20:14:00 +02:00
James Cole
8efb73694d
Full API coverage. 2019-06-09 15:28:54 +02:00
James Cole
d95544d588
Improve code coverage for rules. 2019-06-09 10:27:23 +02:00
James Cole
c02ab6f6d8
Fix route calls [skip ci] 2019-06-09 10:27:11 +02:00
James Cole
2b76b4a2b2
Re-implement transaction and transaction link tests. 2019-06-09 09:58:55 +02:00
James Cole
851c4d2907
Clean up code [skip ci] 2019-06-09 09:41:23 +02:00
James Cole
9d0a5c97c2
Implement rule group and rule tests 2019-06-09 09:40:08 +02:00
James Cole
a1929b0521
Suppress PHPMD messages and make sure to use route() [skip ci] 2019-06-09 09:39:56 +02:00
James Cole
3c2dfc52bc
API updates. 2019-06-09 08:26:23 +02:00
James Cole
85f9c256a1
Refactor some code for recurrences. 2019-06-08 06:19:21 +02:00
James Cole
66c55b7bbe Improve tests, models and views. 2019-04-16 16:20:46 +02:00
James Cole
5ac39dbdef Clean up tests, test only the important things. 2019-04-12 04:53:18 +02:00
James Cole
6f063a134f Reset some code. 2019-04-11 06:06:25 +02:00
James Cole
966186cccd Disable all tests that may need some work in 4.8.0 2019-04-10 19:03:33 +02:00
James Cole
784d990e20 Remove slash from method call. 2019-04-09 20:05:20 +02:00
James Cole
80896b7181 Some code optimisations. 2019-04-09 15:42:25 +02:00
James Cole
97726c3822 Disable all kinds of tests until upgrades are complete. 2019-04-09 15:32:48 +02:00
James Cole
63070bffc3 Merge branch 'develop' into v480
* develop:
  Fix #2204
  CSV file fix for Belfius
2019-04-09 07:51:11 +02:00
Sander Kleykens
251e9f9ba1 CSV file fix for Belfius
Correct the description for outgoing recurring transactions in Belfius CSV files
2019-04-06 20:47:35 +02:00
James Cole
3545d894fd Improve factories and tests. 2019-03-18 16:52:49 +01:00
James Cole
f682981c1e Fix test for PHPUnit8 2019-03-05 20:11:37 +01:00
James Cole
4ca60ca92a Code for upgrade of various libraries. 2019-03-02 21:18:26 +01:00
James Cole
87d5cabe52 Search improvements. 2019-03-02 14:12:09 +01:00
James Cole
af07522f16 Fix for #2135 2019-03-02 10:42:43 +01:00
James Cole
c51c1b8098 Some basic date tests 2019-03-02 08:05:15 +01:00
James Cole
e0d87aa11e First part of a large code cleanup commit. 2019-02-12 21:49:28 +01:00
James Cole
71104f375c Fix tests 2019-02-10 14:33:03 +01:00
James Cole
1d73ff7c13 Fix test coverage. [skip ci] 2019-02-02 09:53:19 +01:00
James Cole
4307bf3b83 Remove Firefly III's ability to encrypt data in the database. 2019-01-31 19:56:09 +01:00
James Cole
d905849b71 Experimental fix for #2031 2019-01-27 21:23:18 +01:00
James Cole
13cddd8f12 Fix bill test 2019-01-27 18:11:10 +01:00
James Cole
f6d88521dd Fix test coverage. 2019-01-27 12:30:52 +01:00
James Cole
aebefe8bcf Fix currency mapper test 2019-01-27 07:48:57 +01:00
James Cole
d7bf9e234c
Fix test coverage. 2019-01-01 18:03:24 +01:00
James Cole
3e25d66902
Add newlines and copyright notices. 2018-12-31 07:48:23 +01:00
James Cole
7fa2fed147
Fix for #1938 2018-12-30 06:19:16 +01:00
James Cole
2c7d94e5e9
Update tests and code. 2018-12-21 16:38:10 +01:00
James Cole
922c8703f5
Fix for #1890 2018-12-21 15:42:40 +01:00
James Cole
3c9c46d574
Expand tests 2018-12-21 07:36:40 +01:00
James Cole
27bc03fc20 Cover all transformers. 2018-12-20 22:03:34 +01:00
James Cole
84b3195e9b Improve transformer coverage. 2018-12-20 20:50:05 +01:00
James Cole
6f54f41946 Add new tests for transformers. 2018-12-20 05:46:05 +01:00
James Cole
c1ae0ab57d Update some tests. 2018-12-19 19:23:52 +01:00
James Cole
446ff81335 Make sure transformers match API definition. 2018-12-19 19:02:16 +01:00
James Cole
03b4a50317 Improve transformers and tests 2018-12-19 06:06:01 +01:00
James Cole
3e71a103a2 Improve test coverage. 2018-12-18 19:57:23 +01:00
James Cole
e46561347d Some rule fixes. 2018-12-18 07:08:46 +01:00
James Cole
a3f33ae888 Go from get to post. 2018-12-18 07:08:35 +01:00
James Cole
f3a597cd12 Improve test coverage. 2018-12-18 06:57:42 +01:00
James Cole
29f2ee93d1 Improve test coverage. 2018-12-18 06:49:26 +01:00
James Cole
454b3ebd97 Improve tests. 2018-12-17 07:09:44 +01:00
James Cole
89942ee49c Improve test coverage for API. 2018-12-16 13:55:19 +01:00
James Cole
1284f9cecc Refactored API code surrounding accounts to make transformers mockable. 2018-12-15 07:59:49 +01:00
James Cole
4bd94e5450 Update request data to match API definition. 2018-12-14 18:33:07 +01:00
James Cole
2a30293905
Improve test coverage. 2018-12-12 20:30:25 +01:00
James Cole
159fffef2e
Improve test coverage. 2018-12-10 21:45:44 +01:00
James Cole
ae4612f134
Fix test coverage. 2018-12-09 20:54:11 +01:00
James Cole
050334a648
Various API updates. 2018-12-03 07:18:05 +01:00
James Cole
9f19d26a23
Working test code. 2018-11-25 06:37:26 +01:00
James Cole
1fbf91c768
Fix tests and improve string. 2018-11-11 08:34:38 +01:00
James Cole
7380c5096e
Fix test coverage. 2018-11-10 15:15:29 +01:00
James Cole
4a64a1bd46
Update meta files for new release. 2018-10-28 19:19:39 +01:00
James Cole
c0ab0b5af5
Fix tests for current feature set. 2018-10-27 05:39:11 +02:00
James Cole
742e03944d Small textual changes for #1159 2018-10-21 11:08:36 +02:00
Ben
9abedf3160 Refactored pardsing of description for FinTS import.
Added some tests.
2018-10-20 15:50:53 +02:00
James Cole
d8ecc63e66 Fix Spectre test. 2018-10-13 22:15:06 +02:00
HamuZ HamuZ
f696353e2c fix local references in upload/export disk. first step for #1727. 2018-10-13 09:56:26 +03:00
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