Source of file ABCSilverStripeTest.php
Size: 0,637 Bytes - Last Modified: 2022-01-13T10:01:10+00:00
/var/www/docs.ssmods.com/process/src/tests/ABCSilverStripeTest.php
123456789101112131415161718192021222324 | <?php class ABCSilverStripeTest extends SapphireTest { public function testSetup() { Image::add_extension('AbcImageExtension'); File::add_extension('AbcFileExtension'); LeftAndMain::add_extension('AbcLeftAndMainExtension'); SiteTree::add_extension('AbcSiteTreeExtension'); Security::add_extension('AbcSecurityExtension'); Controller::add_extension('AbcControllerExtension'); } /** * @depends testSetup */ public function testSMTPMailerSetConf() { // phpunit is a bit broken so we manually call the dependent tests; $this->testSetup(); } } |