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