ToolsControllerTest.php 498 B

1234567891011121314151617181920212223242526
  1. <?php
  2. namespace Tools\Test\TestCase\Controller\Admin;
  3. use Cake\TestSuite\IntegrationTestTrait;
  4. use Shim\TestSuite\TestCase;
  5. /**
  6. * @uses \Tools\Controller\ToolsController
  7. */
  8. class ToolsControllerTest extends TestCase {
  9. use IntegrationTestTrait;
  10. /**
  11. * @return void
  12. */
  13. public function testIcons() {
  14. $this->disableErrorHandlerMiddleware();
  15. $this->get(['prefix' => 'Admin', 'plugin' => 'Tools', 'controller' => 'Tools', 'action' => 'index']);
  16. $this->assertResponseCode(200);
  17. }
  18. }