提交代码
This commit is contained in:
25
vendor/encore/laravel-admin/tests/InstallTest.php
vendored
Normal file
25
vendor/encore/laravel-admin/tests/InstallTest.php
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
class InstallTest extends TestCase
|
||||
{
|
||||
public function testInstalledDirectories()
|
||||
{
|
||||
$this->assertFileExists(admin_path());
|
||||
|
||||
$this->assertFileExists(admin_path('Controllers'));
|
||||
|
||||
$this->assertFileExists(admin_path('routes.php'));
|
||||
|
||||
$this->assertFileExists(admin_path('bootstrap.php'));
|
||||
|
||||
$this->assertFileExists(admin_path('Controllers/HomeController.php'));
|
||||
|
||||
$this->assertFileExists(admin_path('Controllers/AuthController.php'));
|
||||
|
||||
$this->assertFileExists(admin_path('Controllers/ExampleController.php'));
|
||||
|
||||
$this->assertFileExists(config_path('admin.php'));
|
||||
|
||||
$this->assertFileExists(public_path('vendor/laravel-admin'));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user