26 lines
710 B
PHP
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'));
|
|
}
|
|
}
|