File tree Expand file tree Collapse file tree 4 files changed +11
-11
lines changed
tests/Integration/Composer Expand file tree Collapse file tree 4 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 10
10
/Configuration /parameters.yml
11
11
/Configuration /routing_modules.yml
12
12
/nbproject
13
+ /public /
13
14
/var /
14
15
/vendor /
15
- /web /
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
10
10
- Integration tests for the dev and test environment (#44 )
11
11
12
12
### Changed
13
- - Adopt more of the default Symfony project structure (#49 , #50 )
13
+ - Adopt more of the default Symfony project structure (#49 , #50 , # 51 )
14
14
15
15
### Deprecated
16
16
Original file line number Diff line number Diff line change 80
80
"symfony-app-dir" : " bin" ,
81
81
"symfony-bin-dir" : " bin" ,
82
82
"symfony-var-dir" : " var" ,
83
- "symfony-web-dir" : " web " ,
83
+ "symfony-web-dir" : " public " ,
84
84
"symfony-tests-dir" : " tests" ,
85
85
"phplist/phplist4-core" : {
86
86
"bundles" : [],
Original file line number Diff line number Diff line change @@ -15,23 +15,23 @@ class ScriptsTest extends TestCase
15
15
/**
16
16
* @test
17
17
*/
18
- public function webDirectoryHasBeenCreated ()
18
+ public function publicDirectoryHasBeenCreated ()
19
19
{
20
- static ::assertDirectoryExists ($ this ->getAbsoluteWebDirectoryPath ());
20
+ static ::assertDirectoryExists ($ this ->getAbsolutePublicDirectoryPath ());
21
21
}
22
22
23
23
/**
24
24
* @return string
25
25
*/
26
- private function getAbsoluteWebDirectoryPath (): string
26
+ private function getAbsolutePublicDirectoryPath (): string
27
27
{
28
- return dirname (__DIR__ , 3 ) . '/web / ' ;
28
+ return dirname (__DIR__ , 3 ) . '/public / ' ;
29
29
}
30
30
31
31
/**
32
32
* @return string[][]
33
33
*/
34
- public function webDirectoryFilesDataProvider (): array
34
+ public function publicDirectoryFilesDataProvider (): array
35
35
{
36
36
return [
37
37
'production entry point ' => ['app.php ' ],
@@ -44,11 +44,11 @@ public function webDirectoryFilesDataProvider(): array
44
44
/**
45
45
* @test
46
46
* @param string $fileName
47
- * @dataProvider webDirectoryFilesDataProvider
47
+ * @dataProvider publicDirectoryFilesDataProvider
48
48
*/
49
- public function webDirectoryFilesExist (string $ fileName )
49
+ public function publicDirectoryFilesExist (string $ fileName )
50
50
{
51
- static ::assertFileExists ($ this ->getAbsoluteWebDirectoryPath () . $ fileName );
51
+ static ::assertFileExists ($ this ->getAbsolutePublicDirectoryPath () . $ fileName );
52
52
}
53
53
54
54
/**
You can’t perform that action at this time.
0 commit comments