@@ -6,22 +6,22 @@ class BasicWithPublicValetDriverTest extends BaseDriverTestCase
6
6
{
7
7
public function test_it_serves_anything_with_public ()
8
8
{
9
- $ driver = new BasicWithPublicValetDriver () ;
9
+ $ driver = new BasicWithPublicValetDriver ;
10
10
11
11
$ this ->assertTrue ($ driver ->serves ($ this ->projectDir ('public-with-index-non-laravel ' ), 'my-site ' , '/ ' ));
12
12
}
13
13
14
14
public function test_it_doesnt_serve_from_not_public ()
15
15
{
16
- $ driver = new BasicWithPublicValetDriver () ;
16
+ $ driver = new BasicWithPublicValetDriver ;
17
17
18
18
$ this ->assertFalse ($ driver ->serves ($ this ->projectDir ('basic-no-public ' ), 'my-site ' , '/ ' ));
19
19
}
20
20
21
21
public function test_it_serves_php_files_from_public ()
22
22
{
23
23
$ projectPath = $ this ->projectDir ('public-with-index-non-laravel ' );
24
- $ driver = new BasicWithPublicValetDriver () ;
24
+ $ driver = new BasicWithPublicValetDriver ;
25
25
26
26
$ this ->assertEquals (
27
27
$ projectPath .'/public/file-in-public.php ' ,
@@ -32,7 +32,7 @@ public function test_it_serves_php_files_from_public()
32
32
public function test_it_doesnt_serve_php_files_from_root ()
33
33
{
34
34
$ projectPath = $ this ->projectDir ('public-with-index-non-laravel ' );
35
- $ driver = new BasicWithPublicValetDriver () ;
35
+ $ driver = new BasicWithPublicValetDriver ;
36
36
37
37
$ this ->assertEquals (
38
38
$ projectPath .'/public/index.php ' ,
@@ -43,7 +43,7 @@ public function test_it_doesnt_serve_php_files_from_root()
43
43
public function test_it_serves_directory_with_index_php ()
44
44
{
45
45
$ projectPath = $ this ->projectDir ('public-with-index-non-laravel ' );
46
- $ driver = new BasicWithPublicValetDriver () ;
46
+ $ driver = new BasicWithPublicValetDriver ;
47
47
48
48
$ this ->assertEquals (
49
49
$ projectPath .'/public/about/index.php ' ,
@@ -54,7 +54,7 @@ public function test_it_serves_directory_with_index_php()
54
54
public function test_it_route_to_public_index_if_404 ()
55
55
{
56
56
$ projectPath = $ this ->projectDir ('public-with-index-non-laravel ' );
57
- $ driver = new BasicWithPublicValetDriver () ;
57
+ $ driver = new BasicWithPublicValetDriver ;
58
58
59
59
$ this ->assertEquals (
60
60
$ projectPath .'/public/index.php ' ,
@@ -65,7 +65,7 @@ public function test_it_route_to_public_index_if_404()
65
65
public function test_it_serves_directory_with_index_html ()
66
66
{
67
67
$ projectPath = $ this ->projectDir ('public-with-index-non-laravel ' );
68
- $ driver = new BasicWithPublicValetDriver () ;
68
+ $ driver = new BasicWithPublicValetDriver ;
69
69
70
70
$ this ->assertEquals (
71
71
$ projectPath .'/public/team/index.html ' ,
@@ -76,7 +76,7 @@ public function test_it_serves_directory_with_index_html()
76
76
public function test_it_serves_static_files ()
77
77
{
78
78
$ projectPath = $ this ->projectDir ('public-with-index-non-laravel ' );
79
- $ driver = new BasicWithPublicValetDriver () ;
79
+ $ driver = new BasicWithPublicValetDriver ;
80
80
81
81
$ this ->assertEquals (
82
82
$ projectPath .'/public/assets/document.txt ' ,
0 commit comments