Pierre Joye
|
6c3c068485
|
add test for multiple parts using folder
|
2021-02-02 07:27:54 +07:00 |
|
Pierre Joye
|
b20838531c
|
Resolved merge conflict
|
2021-02-01 22:43:28 +07:00 |
|
Matias Griese
|
a8a960d10b
|
Updated unit tests
|
2021-02-01 11:14:53 +02:00 |
|
Pierre Joye
|
ea758e9dca
|
Add test for this translatedLanguages
|
2021-01-30 20:50:20 +07:00 |
|
Matias Griese
|
c4ce2d1648
|
Misc minor code quality fixes
|
2019-10-24 11:26:04 +03:00 |
|
Matias Griese
|
913efdbd6a
|
Revert multiple changes as many of those break Grav functionality [#2699]
|
2019-10-22 15:20:35 +03:00 |
|
Rasmus Lerdorf
|
32a9acc62e
|
Add a .phan config file and stubs for Phan static analysis
I fixed some small inconsistencies here and there. There are still
a little over 200 to go. This time against the 1.7 branch.
To try it, checkout this PR and run:
composer require phan/phan
It doesn't have to be in the Grav tree. You can install it anywhere.
Then from the top-level Grav dir:
/vendor/bin/phan -p
You can see the ones that are left to address here:
https://gist.github.com/69eac9b37ced1cadc08ed4be0ee84f40
Also, and the main reason I added it, was to get some nice
dependency graphs from Phan to help me understand the Grav code. Some
examples:
http://pdep.lerdorf.com/?mode=class&node=\Grav\Common\File\CompiledFile&d=3
http://pdep.lerdorf.com/?mode=class&node=\Grav\Common\Filesystem\Folder&d=1
http://pdep.lerdorf.com/?mode=class&node=\Doctrine\Common\Cache\Cache&d=2
http://pdep.lerdorf.com/?mode=class&node=\RocketTheme\Toolbox\ArrayTraits\Export&d=1
Move the slider to change the number of dependency levels shown.
|
2019-10-16 10:38:08 -07:00 |
|
Patric Johansson
|
4bba284bf5
|
Update Core to follow PSR-2 standard
|
2019-10-15 13:33:48 +03:00 |
|
Matias Griese
|
90c2079529
|
Fixed wrong Pages::dispatch() calls (with redirect) when we really meant to call Pages::find()
|
2019-09-13 22:39:46 +03:00 |
|
Matias Griese
|
22acffac5c
|
Update Pages unit tests
|
2019-08-22 15:16:27 +03:00 |
|
Matias Griese
|
4e03f19bac
|
Update all classes to rely on PageInterface instead of Page class
|
2019-03-05 15:29:39 +02:00 |
|
Gabriel Caruso
|
f261173de2
|
Refactoring tests (#1779)
|
2018-01-19 11:15:20 -07:00 |
|
Andy Miller
|
7ba69dd5a1
|
Fixed Pages test
|
2017-04-14 12:38:59 -06:00 |
|
Flavio Copes
|
6791244e38
|
Merge branch 'develop' into feature/reset-grav-every-test
|
2016-02-25 16:52:56 +01:00 |
|
Andy Miller
|
de9b6df2c7
|
removed TODOs..
|
2016-02-05 12:17:08 -07:00 |
|
Flavio Copes
|
54f959b462
|
Reinitialize Grav on every test
Don't need to worry about changing configuration or pages or anything
in a test, every test method will start with a clean slate
|
2016-02-04 14:12:27 +01:00 |
|
Andy Miller
|
72836982e6
|
various fixes for broken tests
|
2016-02-02 22:45:42 -07:00 |
|
Flavio Copes
|
36ec6ad513
|
✅ Fix tests
|
2016-02-02 15:46:55 +01:00 |
|
Flavio Copes
|
aec95f3fa6
|
✅ More Pages class tests
|
2016-02-02 15:31:46 +01:00 |
|
Flavio Copes
|
9d67f1ac33
|
✅ Fix assertSame param order
|
2016-02-01 18:55:33 +01:00 |
|
Flavio Copes
|
f8eeac70a2
|
Only initialize new pages location once in tests
|
2016-02-01 17:19:52 +01:00 |
|
Flavio Copes
|
57cd5c9e6f
|
Add second set of pages to test
|
2016-02-01 14:37:19 +01:00 |
|
Flavio Copes
|
b612347ee7
|
🚧 Drop unneeded pages unset. Remove second set of pages test, currently not working
|
2016-01-30 12:20:07 +01:00 |
|
Andy Miller
|
13db4025b6
|
reset the pages
|
2016-01-29 21:32:34 -07:00 |
|
Flavio Copes
|
4108c7710b
|
✅ First Pages testing in place with first simple site stub structure provided under tests/fake
|
2016-01-29 18:32:52 +01:00 |
|