1
0
Files
lkafu/vendor/encore/laravel-admin/tests/InstallTest.php
2020-08-06 14:50:07 +08:00

26 lines
710 B
PHP

<?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'));
}
}