1 | <?php |
||
11 | class ConfigurationTest extends \PHPUnit_Framework_TestCase |
||
12 | { |
||
13 | use ConfigurationTestCaseTrait; |
||
14 | |||
15 | /** |
||
16 | * @test |
||
17 | */ |
||
18 | public function it_uses_app_themes_as_default_themes_location() |
||
27 | |||
28 | /** |
||
29 | * @test |
||
30 | */ |
||
31 | public function it_does_not_add_default_theme_location_if_there_are_some_defined_by_user() |
||
40 | |||
41 | /** |
||
42 | * @test |
||
43 | */ |
||
44 | public function it_uses_the_last_theme_locations_passed_and_rejects_the_other_ones() |
||
54 | |||
55 | /** |
||
56 | * @test |
||
57 | */ |
||
58 | public function it_is_invalid_to_pass_a_string_as_theme_locations() |
||
66 | |||
67 | /** |
||
68 | * @test |
||
69 | */ |
||
70 | public function it_throws_an_error_if_trying_to_set_theme_locations_to_an_empty_array() |
||
78 | |||
79 | /** |
||
80 | * {@inheritdoc} |
||
81 | */ |
||
82 | protected function getConfiguration() |
||
86 | } |
||
87 |