tmgmt_smartling-8.x-4.11/tests/src/Functional/RequirementsTest.php

tests/src/Functional/RequirementsTest.php
<?php

namespace Drupal\Tests\tmgmt_smartling\Functional;

/**
 * Basic requirements tests.
 *
 * @group tmgmt_smartling_functional
 */
class RequirementsTest extends SmartlingTestBase {

  /**
   * Test module requirements.
   */
  public function testRequirements() {
    $this->drupalGet("/admin/reports/status");
    $this->assertSession()->responseContains("Smartling PHP max_execution_time");
    $this->assertSession()->responseContains("PHP max_execution_time is recommended to be set at least 300");
    $this->assertSession()->responseContains("Background processes might take time to be done");
  }

}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc