public function UnitTest::setUp in Acquia Cloud Site Factory Connector 8
Same name and namespace in other branches
- 8.2 tests/AcsfEventsTest.php \UnitTest::setUp()
Setup.
File
- tests/
AcsfEventsTest.php, line 34 - Provides PHPUnit tests for the Acsf Events system.
Class
Code
public function setUp() {
// The files in this directory can't be autoloaded as long as they don't
// match their classes' namespaces.
$files = [
__DIR__ . '/UnitTestDummyHandler1.php',
__DIR__ . '/UnitTestDummyHandler2.php',
__DIR__ . '/UnitTestDummyHandler3.php',
__DIR__ . '/UnitTestDummyHandlerInterrupt.php',
__DIR__ . '/UnitTestDummyHandlerIncompatible.php',
];
foreach ($files as $file) {
// Acquia rules disallow 'include/require' with dynamic arguments.
// phpcs:disable
require_once $file;
// phpcs:enable
}
}