You are here

public function ComposerDependencyTest::testDependenciesMet in CloudFlare 8

Test posting an invalid host to the form.

File

tests/src/Functional/ComposerDependencyTest.php, line 54

Class

ComposerDependencyTest
Tests \Drupal\cloudflare\Form\SettingsForm.

Namespace

Drupal\Tests\cloudflare\Functional

Code

public function testDependenciesMet() {
  ComposerDependenciesCheckMock::mockComposerDependenciesMet(TRUE);
  $this
    ->drupalGet($this->route);
  $this
    ->assertSession()
    ->responseNotContains('Missing Composer dependencies for CloudFlare');
}