@@ 27-36 (lines=10) @@ | ||
24 | } |
|
25 | ||
26 | /** @test */ |
|
27 | public function it_has_a_config_path_getter() |
|
28 | { |
|
29 | $container = $this->app->getContainer(); |
|
30 | ||
31 | $this->assertEquals(BASE_PATH.DIRECTORY_SEPARATOR.'config', $container->configPath()); |
|
32 | $this->assertEquals( |
|
33 | BASE_PATH.DIRECTORY_SEPARATOR.'config'.DIRECTORY_SEPARATOR.'custom.php', |
|
34 | $container->configPath('custom.php') |
|
35 | ); |
|
36 | } |
|
37 | ||
38 | /** @test */ |
|
39 | public function it_has_a_database_path_getter() |
|
@@ 39-48 (lines=10) @@ | ||
36 | } |
|
37 | ||
38 | /** @test */ |
|
39 | public function it_has_a_database_path_getter() |
|
40 | { |
|
41 | $container = $this->app->getContainer(); |
|
42 | ||
43 | $this->assertEquals(BASE_PATH.DIRECTORY_SEPARATOR.'database', $container->databasePath()); |
|
44 | $this->assertEquals( |
|
45 | BASE_PATH.DIRECTORY_SEPARATOR.'database'.DIRECTORY_SEPARATOR.'migrations', |
|
46 | $container->databasePath('migrations') |
|
47 | ); |
|
48 | } |
|
49 | ||
50 | /** @test */ |
|
51 | public function it_has_a_lang_path_getter() |