Commit Graph

230 Commits

Author SHA1 Message Date
472be3c4ed Use snapshots library with tests to simplify testcases 2017-04-06 11:59:53 -04:00
d2d48905d7 More basic tests, see #16 2017-04-03 14:46:29 -04:00
ddd30fc713 Add favorite characters to user page, see #27 2017-03-31 14:15:29 -04:00
b2300f4cfb Remove duplicated function 2017-03-30 16:57:58 -04:00
fb567e85e9 Simplify routing code a bit 2017-03-30 16:16:40 -04:00
69b4d0c88b More tests 2017-03-29 15:14:30 -04:00
ec7e0cc93b Fix tests 2017-03-29 13:42:40 -04:00
cf0db8b9fa Update all the page titles 2017-03-24 09:58:27 -04:00
960537f8e0 Fix tests and start on profile page 2017-03-08 13:46:50 -05:00
6bf107e1ad Update all the header comments with the correct repository url 2017-03-07 20:53:58 -05:00
ed01b28c0d Rework the rest of the mappings 2017-03-01 22:07:51 -05:00
14e8fa9f03 More PHPStan fixes 2017-02-22 15:08:29 -05:00
adc331d60d PHPStan fixes 2017-02-22 14:46:35 -05:00
9f0484a93b Use new ParallelAPIRequest class 2017-02-20 13:37:08 -05:00
0232d18f1f Yet more snake case to camel case 2017-02-16 14:30:06 -05:00
85cd77267b Make sure header comments are actually updated for all code files 2017-02-16 11:09:37 -05:00
ee2760b2b5 Rename test base class 2017-02-15 16:40:18 -05:00
84cb1cb520 And more snake case to camel case 2017-02-15 16:30:14 -05:00
db07976403 Update header comments 2017-02-15 16:13:32 -05:00
c96a3bbd50 Snake case to camel case 2017-02-15 16:11:52 -05:00
8cbfaf3646 More snake case to camel case 2017-02-15 15:56:10 -05:00
29c04e62be More code styles fixes 2017-02-15 15:35:41 -05:00
ae42fafe84 Update headers 2017-02-15 13:08:17 -05:00
0a72e60f68 Fix more code style issues 2017-02-15 11:57:29 -05:00
36874cbe55 Properly namespace all the tests 2017-02-15 11:49:38 -05:00
470c39cf79 Remove some unused code 2017-02-15 11:18:55 -05:00
906a1f1efa Another ugly progress commit
- Eradicated Guzzle from main codebase
- All API requests now use Artax
- Refactor code to use function and constant imports
- And more!
2017-02-08 15:48:20 -05:00
deecb5a912 Start of work to replace Guzzle with Artax 2017-02-08 00:44:57 -05:00
02838c5024 Update headers and some whitespace 2017-02-07 13:27:41 -05:00
bc0c3774eb Update deprecated test 2017-02-06 11:00:18 -05:00
5eea985828 Actually update MAL if enabled 2017-02-04 15:18:34 -05:00
2d0fa51c40 Delete outdated test data 2017-01-31 12:55:28 -05:00
c26a4ca8e8 More test coverage for transformers 2017-01-31 12:51:14 -05:00
47a43517cb More test coverage, attempt to get Gitlab to see test coverage 2017-01-27 15:41:52 -05:00
03964c446a Ugly progress commit 2017-01-27 12:35:28 -05:00
20c3d69717 Get xml parsing working predictably 2017-01-27 09:43:42 -05:00
ece4f343e2 Fix broken test 2017-01-26 13:02:18 -05:00
7bad51d867 Fix failing test 2017-01-16 14:05:42 -05:00
9e30783ecb Update transformer tests 2017-01-13 16:48:08 -05:00
496eb68078 Really ugly progress commit 2017-01-12 15:41:20 -05:00
aca66ae86d Add test data files 2017-01-11 22:27:36 -05:00
62c06b7731 Start of integration with My Anime List 2017-01-11 19:35:51 -05:00
712956d564 Fix unit tests 2017-01-10 21:13:44 -05:00
c9f5964d5e Ugly progress commit 2016-12-20 12:58:37 -05:00
f2fcc8ee93 Remove Hummingbird stuff 2016-12-16 21:52:59 -05:00
07ebb3e988 Update headers and namespaces 2016-10-20 22:32:17 -04:00
c915ea871d Update EVERYTHING 2016-10-20 22:09:36 -04:00
f7915ba6f2 Move tests to tests/ directory 2016-08-29 17:09:56 -04:00
ac971c5248 Move src files to root of src/ 2016-08-29 16:36:13 -04:00
4e4ac58263 Fix tests broken due to changes in container 2016-08-29 15:36:36 -04:00
e0e63cf094 Move Ion namespace into composer dependency 2016-08-09 11:08:45 -04:00
47e67d5d1a Set up mutation testing for unit tests 2016-08-01 14:38:23 -04:00
6b9770698b Refactor cache to remove dependency on container 2016-08-01 13:02:26 -04:00
893584696b Move cache class to IOn namespace, use safer json for serialization in cache drivers 2016-07-28 10:44:13 -04:00
f00acbe2d6 Fix travis ci tests 2016-07-27 13:35:30 -04:00
563adace2f Refactor out some Interdependency between Ion and AnimeClient namespaces 2016-07-27 13:18:52 -04:00
cc7046f0ec Update the correct file to change config for gitlab ci 2016-07-25 12:29:42 -04:00
cb046dbde2 Add redis config file for gitlab ci tests 2016-07-25 11:58:43 -04:00
96d3dfdbb4 Update Redis tests to work with gitlab ci 2016-07-22 17:48:13 -04:00
fa22f7b493 Update Redis cache driver to use PHP-only library, removing the dependence on an extension: 2016-07-22 17:22:00 -04:00
ead6f8b487 Set default timezone to prevent stupid test errors 2016-07-18 13:06:37 -04:00
672552a1e8 Make tests skip redis integration if the extension is not installed 2016-07-18 12:59:34 -04:00
4e48c8c4fa Update changelog and add additional tests 2016-04-19 14:51:58 -04:00
98f709c36e Add tests for Cache Manager class 2016-04-12 14:05:13 -04:00
e26e9f10b6 Update manga model to cache the one api response. 2016-04-12 13:41:03 -04:00
7d6c6fe2a0 Add NullDriver for cache layer, for the sake of testing, or config without a cache 2016-04-12 12:05:42 -04:00
4b4a259f8a Add Redis Cache driver 2016-04-08 14:25:45 -04:00
0f6c998109 Add tests for SQL based api cache 2016-04-07 12:34:57 -04:00
c8789dc267 Update url generation to use new router 2016-03-07 14:37:49 -05:00
ed16fd8d45 Fix most of the broken tests 2016-03-03 16:53:17 -05:00
ab19e9db08 Get HTML output working again, still refactoring router 2016-02-17 10:29:05 -05:00
540a82fe22 Minor code quality fixes for Scrutinizer 2016-02-02 21:28:32 -05:00
b611d02a2c Change logger methods to be inline with interface, fix Manga Model tests 2016-01-11 15:31:53 -05:00
2391ca14ca Remove errorhandler, and replace with logger 2016-01-11 14:39:53 -05:00
0c2243a4f3 Add more test coverage, and update build.xml 2016-01-11 10:42:34 -05:00
993b625042 Actually fix view tests 2016-01-08 11:40:24 -05:00
557b27ef77 Fix view tests 2016-01-08 11:19:56 -05:00
ae4530b5d2 Update codebase to use new Json class 2016-01-07 13:45:43 -05:00
aa67b941d4 Fix PHP 5.5 build 2016-01-06 17:06:30 -05:00
b94bf01dee Remove unnamespaced constants, and improve some tests 2016-01-06 15:44:40 -05:00
ba94f439bb Simplify routing 2016-01-06 11:08:56 -05:00
e3af767246 Fix testss 2016-01-05 10:05:14 -05:00
e9e16dd2b1 Update header comments, add start of manga editing functionality 2016-01-04 16:58:33 -05:00
9c81836648 Add full edit form to anime list 2016-01-04 10:53:03 -05:00
6ca086d85b Some code style fixes 2015-12-08 16:39:49 -05:00
3b876f2c42 Skip erroring tests on travis 2015-11-18 10:58:12 -05:00
ed1e888c58 Try mocking out get_cached_image method 2015-11-18 10:41:00 -05:00
254afc990e More test coverage 2015-11-18 10:31:42 -05:00
8d1986d13b Improve some test coverage 2015-11-17 16:45:41 -05:00
5d2cad4690 Remove loose functions file 2015-11-16 19:30:04 -05:00
69f35d222c Poor style progress update commit 2015-11-13 16:31:01 -05:00
dfe91d0f1c Make updating of anime list work 2015-11-13 11:33:27 -05:00
2f8886c28f More test coverage 2015-10-21 15:43:51 -04:00
c3643565e3 Fix issue where cache file doesn't exist, add tests for Menu Helper 2015-10-21 11:57:58 -04:00
28e03f6fb2 Fix default redirect and tests 2015-10-20 16:41:51 -04:00
4ef2d6df57 Fix the rest of the menu urls 2015-10-20 15:59:51 -04:00
d281c26a1c Remove risky tests, update .gitignore 2015-10-19 15:13:18 -04:00
385037b669 Fix tests for PHP 5.5 2015-10-19 13:02:10 -04:00
fee09c50ae More test coverage 2015-10-19 12:50:46 -04:00
0b79ac3596 Better testing for ArrayType and Config classes 2015-10-15 22:00:09 -04:00
de444857dd Add partial test for config delete 2015-10-15 10:23:00 -04:00
d231b39fdc Fix origin value in API Model tests 2015-10-15 09:49:38 -04:00
d5c76a0f01 Fix html view test for PHP < 7 2015-10-15 09:28:10 -04:00
485ba46838 More test coverage 2015-10-15 09:25:30 -04:00
bc6aed51c8 Remove some dead code 2015-10-12 14:11:00 -04:00
b687dcf2a8 Rearrange some namespaces and add more docblocks 2015-10-09 22:29:59 -04:00
a8e3c594e3 Basic Menu generation 2015-10-09 14:34:55 -04:00
38cfaa023d Fix failing test 2015-10-06 11:41:21 -04:00
f3772528c5 Code style improvements 2015-10-06 11:38:20 -04:00
6b322d18da Miscellaneous updates, prep for menu generator 2015-10-05 16:54:25 -04:00
b68cbe5a26 fix test 2015-10-01 16:07:40 -04:00
2462e09205 Lots of miscellaneous improvements 2015-10-01 16:02:51 -04:00
b8f753a424 Use Anime transformer class 2015-09-28 14:41:45 -04:00
23c16fc9c3 Transformers and Enums 2015-09-25 13:41:12 -04:00
f87dd2636d More tests for Ion 2015-09-18 22:55:40 -04:00
60109b3531 Fix failing tests for PHP < 5.6 2015-09-18 13:06:22 -04:00
e2731db7ea Decouple and generalise 2015-09-17 23:11:18 -04:00
156461a0b9 Start of refactoring routing to be more convention based 2015-09-16 12:25:35 -04:00
8a68559f0e More namespace refactoring 2015-09-15 13:19:29 -04:00
97a5abe665 Namespace refactoring 2015-09-14 19:54:34 -04:00
d93f5a82a0 fix a few variable changes, remove old code from app folder 2015-09-14 16:14:02 -04:00
9d139a7d1c Pass the tests! 2015-09-14 15:49:20 -04:00
e53f9abf3f Some progress toward better structure through refactoring 2015-09-14 10:54:50 -04:00
3e39aa0277 Miscellaneous rework, and adding/editing of collection items when logged in 2015-07-02 14:04:04 -04:00
3e53ec1526 More dependency injection, and code coverage 2015-06-30 13:03:20 -04:00
Scrutinizer Auto-Fixer
3b0a19af2f Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2015-06-29 14:26:50 +00:00
4785b82208 Add php namespaces 2015-06-26 16:39:10 -04:00
0099d4f5ec Fix some broken tests 2015-06-26 13:24:55 -04:00
0c73343291 Better integrate minification scripts, and add more unit tests 2015-06-26 12:03:42 -04:00
0b63f810a9 First unit tests, add a few of the forgotten app requirements 2015-06-25 17:00:29 -04:00