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 1010/Configuration /parameters.yml
1111/Configuration /routing_modules.yml
1212/nbproject
13+ /public /
1314/var /
1415/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/).
1010- Integration tests for the dev and test environment (#44 )
1111
1212### Changed
13- - Adopt more of the default Symfony project structure (#49 , #50 )
13+ - Adopt more of the default Symfony project structure (#49 , #50 , # 51 )
1414
1515### Deprecated
1616
Original file line number Diff line number Diff line change 8080 "symfony-app-dir" : " bin" ,
8181 "symfony-bin-dir" : " bin" ,
8282 "symfony-var-dir" : " var" ,
83- "symfony-web-dir" : " web " ,
83+ "symfony-web-dir" : " public " ,
8484 "symfony-tests-dir" : " tests" ,
8585 "phplist/phplist4-core" : {
8686 "bundles" : [],
Original file line number Diff line number Diff line change @@ -15,23 +15,23 @@ class ScriptsTest extends TestCase
1515 /**
1616 * @test
1717 */
18- public function webDirectoryHasBeenCreated ()
18+ public function publicDirectoryHasBeenCreated ()
1919 {
20- static ::assertDirectoryExists ($ this ->getAbsoluteWebDirectoryPath ());
20+ static ::assertDirectoryExists ($ this ->getAbsolutePublicDirectoryPath ());
2121 }
2222
2323 /**
2424 * @return string
2525 */
26- private function getAbsoluteWebDirectoryPath (): string
26+ private function getAbsolutePublicDirectoryPath (): string
2727 {
28- return dirname (__DIR__ , 3 ) . '/web / ' ;
28+ return dirname (__DIR__ , 3 ) . '/public / ' ;
2929 }
3030
3131 /**
3232 * @return string[][]
3333 */
34- public function webDirectoryFilesDataProvider (): array
34+ public function publicDirectoryFilesDataProvider (): array
3535 {
3636 return [
3737 'production entry point ' => ['app.php ' ],
@@ -44,11 +44,11 @@ public function webDirectoryFilesDataProvider(): array
4444 /**
4545 * @test
4646 * @param string $fileName
47- * @dataProvider webDirectoryFilesDataProvider
47+ * @dataProvider publicDirectoryFilesDataProvider
4848 */
49- public function webDirectoryFilesExist (string $ fileName )
49+ public function publicDirectoryFilesExist (string $ fileName )
5050 {
51- static ::assertFileExists ($ this ->getAbsoluteWebDirectoryPath () . $ fileName );
51+ static ::assertFileExists ($ this ->getAbsolutePublicDirectoryPath () . $ fileName );
5252 }
5353
5454 /**
You can’t perform that action at this time.
0 commit comments