InstallTest.php 710 B

12345678910111213141516171819202122232425
  1. <?php
  2. class InstallTest extends TestCase
  3. {
  4. public function testInstalledDirectories()
  5. {
  6. $this->assertFileExists(admin_path());
  7. $this->assertFileExists(admin_path('Controllers'));
  8. $this->assertFileExists(admin_path('routes.php'));
  9. $this->assertFileExists(admin_path('bootstrap.php'));
  10. $this->assertFileExists(admin_path('Controllers/HomeController.php'));
  11. $this->assertFileExists(admin_path('Controllers/AuthController.php'));
  12. $this->assertFileExists(admin_path('Controllers/ExampleController.php'));
  13. $this->assertFileExists(config_path('admin.php'));
  14. $this->assertFileExists(public_path('vendor/laravel-admin'));
  15. }
  16. }