Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <phpunit bootstrap="./core/tests/bootstrap.php" colors="true"
- beStrictAboutTestsThatDoNotTestAnything="true"
- beStrictAboutOutputDuringTests="true"
- beStrictAboutChangesToGlobalState="true"
- printerClass="DrupalTestsListenersHtmlOutputPrinter">
- <env name="PHP_IDE_CONFIG" value="PHPSTORM"/>
- <php>
- <!-- Set error reporting to E_ALL. -->
- <ini name="error_reporting" value="32767"/>
- <!-- Do not limit the amount of memory tests take to run. -->
- <ini name="memory_limit" value="-1"/>
- <!-- Example SIMPLETEST_BASE_URL value: http://localhost -->
- <env name="SIMPLETEST_BASE_URL" value="http://intellipass:8888/"/>
- <!--Example SIMPLETEST_DB value: mysql://username:password@localhost/databasename#table_prefix -->
- <env name="SIMPLETEST_DB" value="sqlite://localhost//sites/default/files/db.sqlite"/>
- <!-- Example BROWSERTEST_OUTPUT_DIRECTORY value: /path/to/webroot/sites/simpletest/browser_output -->
- <env name="BROWSERTEST_OUTPUT_DIRECTORY" value="/tmp"/>
- </php>
- <testsuites>
- <testsuite name="Intellipass Functional Test Suite">
- <directory>./modules/custom/intellipass/tests/src/Functional</directory>
- </testsuite>
- </testsuites>
- </phpunit>
- <?php
- namespace DrupalTestsintellipassFunctional;
- use DrupalTestsBrowserTestBase;
- class EncryptionSecretTest extends BrowserTestBase {
- /**
- * Modules to install.
- *
- * @var array
- */
- public static $modules = ['system', 'intellipass'];
- protected function setUp() {
- parent::setUp();
- }
- /**
- * Tests comments in book export.
- */
- public function testRedirect() {
- $authenticatedUser = $this->drupalCreateUser();
- $this->drupalLogin($authenticatedUser);
- }
- }
- ./phpunit-4.8.9.phar --testsuite="Intellipass Functional Test Suite"
- peter@NB32 intellipass (master) $ ./phpunit-4.8.9.phar --testsuite="Intellipass Functional Test Suite"
- PHPUnit 4.8.9 by Sebastian Bergmann and contributors.
- E
- Time: 3.73 seconds, Memory: 10.00Mb
- There was 1 error:
- 1) DrupalTestsintellipassFunctionalEncryptionSecretTest::testRedirect
- Exception: PDOException: SQLSTATE[HY000] [2002] Connection refused
- DrupalComponentDependencyInjectionPhpArrayContainer->createService()() (Line: 79)
- /Users/peter/DevPrivat/intellipass/core/lib/Drupal/Core/Test/HttpClientMiddleware/TestHttpClientMiddleware.php:44
- /Users/peter/DevPrivat/intellipass/vendor/guzzlehttp/promises/src/Promise.php:203
- /Users/peter/DevPrivat/intellipass/vendor/guzzlehttp/promises/src/Promise.php:156
- /Users/peter/DevPrivat/intellipass/vendor/guzzlehttp/promises/src/TaskQueue.php:47
- /Users/peter/DevPrivat/intellipass/vendor/guzzlehttp/promises/src/Promise.php:246
- /Users/peter/DevPrivat/intellipass/vendor/guzzlehttp/promises/src/Promise.php:223
- /Users/peter/DevPrivat/intellipass/vendor/guzzlehttp/promises/src/Promise.php:267
- /Users/peter/DevPrivat/intellipass/vendor/guzzlehttp/promises/src/Promise.php:225
- /Users/peter/DevPrivat/intellipass/vendor/guzzlehttp/promises/src/Promise.php:62
- /Users/peter/DevPrivat/intellipass/vendor/guzzlehttp/guzzle/src/Client.php:131
- /Users/peter/DevPrivat/intellipass/vendor/fabpot/goutte/Goutte/Client.php:155
- /Users/peter/DevPrivat/intellipass/vendor/symfony/browser-kit/Client.php:312
- /Users/peter/DevPrivat/intellipass/vendor/behat/mink-browserkit-driver/src/BrowserKitDriver.php:144
- /Users/peter/DevPrivat/intellipass/vendor/behat/mink/src/Session.php:148
- /Users/peter/DevPrivat/intellipass/core/tests/Drupal/Tests/BrowserTestBase.php:333
- /Users/peter/DevPrivat/intellipass/core/tests/Drupal/Tests/BrowserTestBase.php:472
- /Users/peter/DevPrivat/intellipass/modules/custom/intellipass/tests/src/Functional/EncryptionSecretTest.php:17
- /Users/peter/DevPrivat/intellipass/vendor/phpunit/phpunit/src/Framework/TestCase.php:764
- /Users/peter/DevPrivat/intellipass/vendor/phpunit/phpunit/src/Framework/TestResult.php:612
- /Users/peter/DevPrivat/intellipass/vendor/phpunit/phpunit/src/Framework/TestCase.php:724
- FAILURES!
- Tests: 1, Assertions: 1, Errors: 1.
Add Comment
Please, Sign In to add comment