FormatControllerTest.php 660 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?php
  2. namespace Tools\Test\TestCase\Controller\Admin;
  3. use Cake\TestSuite\IntegrationTestTrait;
  4. use Shim\TestSuite\TestCase;
  5. /**
  6. * @uses \Tools\Controller\FormatController
  7. */
  8. class FormatControllerTest extends TestCase {
  9. use IntegrationTestTrait;
  10. /**
  11. * @var array
  12. */
  13. protected $fixtures = [
  14. //'core.Sessions',
  15. ];
  16. /**
  17. * @return void
  18. */
  19. public function setUp(): void {
  20. parent::setUp();
  21. }
  22. /**
  23. * @return void
  24. */
  25. public function testIcons() {
  26. $this->disableErrorHandlerMiddleware();
  27. $this->get(['prefix' => 'Admin', 'plugin' => 'Tools', 'controller' => 'Format', 'action' => 'icons']);
  28. $this->assertResponseCode(200);
  29. }
  30. }