Security update for permissions_by_term
[yaffs-website] / web / modules / contrib / permissions_by_term / tests / phpunit.xml.dist
diff --git a/web/modules/contrib/permissions_by_term/tests/phpunit.xml.dist b/web/modules/contrib/permissions_by_term/tests/phpunit.xml.dist
new file mode 100644 (file)
index 0000000..d1d59c7
--- /dev/null
@@ -0,0 +1,34 @@
+<phpunit bootstrap="./../../../core/tests/bootstrap.php" colors="true"
+         beStrictAboutTestsThatDoNotTestAnything="true"
+         beStrictAboutOutputDuringTests="true"
+         beStrictAboutChangesToGlobalState="true"
+         printerClass="\Drupal\Tests\Listeners\HtmlOutputPrinter">
+
+  <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://pbt"/>
+    <!-- Example SIMPLETEST_DB value: mysql://username:password@localhost/databasename#table_prefix -->
+    <env name="SIMPLETEST_DB" value="sqlite://localhost//home/jepster/PhpstormProjects/permissions-by-term-behat/sites/default/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="Unit Test Suite">
+      <directory>./src/Unit</directory>
+    </testsuite>
+  </testsuites>
+
+  <testsuites>
+    <testsuite name="Kernel Test Suite">
+      <directory>./src/Kernel</directory>
+    </testsuite>
+  </testsuites>
+
+</phpunit>
\ No newline at end of file