public static function ComposerDependenciesCheckMock::mockComposerDependenciesMet in CloudFlare 8
Tells the mock to assert if dependencies are met or not.
Parameters
bool $are_dependencies_met: TRUE to mock dependencies are met. FALSE otherwise.
9 calls to ComposerDependenciesCheckMock::mockComposerDependenciesMet()
- CloudFlareAdminSettingsFormTest::setUp in tests/
src/ Functional/ CloudFlareAdminSettingsFormTest.php - Setup the test.
- CloudFlareAdminSettingsFormTest::testMultiZoneSelection in tests/
src/ Functional/ CloudFlareAdminSettingsFormTest.php - Test posting an invalid host to the form.
- CloudFlareAdminSettingsFormTest::testValidCredentials in tests/
src/ Functional/ CloudFlareAdminSettingsFormTest.php - Test posting an invalid host to the form.
- CloudFlareAdminSettingsInvalidFormTest::setUp in tests/
src/ Functional/ CloudFlareAdminSettingsInvalidFormTest.php - Setup the test.
- CloudFlareAdminSettingsInvalidFormTest::testInvalidKeyLength in tests/
src/ Functional/ CloudFlareAdminSettingsInvalidFormTest.php - Test posting an invalid host to the form.
File
- tests/
modules/ cloudflare_form_tester/ src/ Mocks/ ComposerDependenciesCheckMock.php, line 75
Class
- ComposerDependenciesCheckMock
- Tests that composer dependencies are met.
Namespace
Drupal\cloudflare_form_tester\MocksCode
public static function mockComposerDependenciesMet($are_dependencies_met) {
\Drupal::state()
->set('cloudflaretesting.assertComposerDependenciesMet', $are_dependencies_met);
}