✨ Story 2.3: page accueil hero
This commit is contained in:
@@ -26,8 +26,12 @@ Assert-True ($footer -match '</body>') 'Footer missing closing body'
|
||||
|
||||
Assert-True (Test-Path 'index.php') 'Missing index.php'
|
||||
$index = Get-Content -Raw 'index.php'
|
||||
Assert-True ($index -match 'include_template\(') 'index.php missing include_template usage'
|
||||
if (-not ($index -match 'include_template\(')) {
|
||||
Assert-True (Test-Path 'pages/home.php') 'Missing pages/home.php for templates usage'
|
||||
$homeContent = Get-Content -Raw 'pages/home.php'
|
||||
Assert-True ($homeContent -match 'include_template\(') 'pages/home.php missing include_template usage'
|
||||
}
|
||||
|
||||
Assert-True (Test-Path 'assets/js/main.js') 'Missing assets/js/main.js'
|
||||
|
||||
'OK'
|
||||
'OK'
|
||||
|
||||
Reference in New Issue
Block a user