| 1 | <?php |
||
| 13 | abstract class AbstractConnectUnitTest extends \PHPUnit_Framework_TestCase |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var \Shopware|null |
||
| 17 | */ |
||
| 18 | private static $appState = null; |
||
| 19 | |||
| 20 | protected function setUp() |
||
| 24 | |||
| 25 | protected function tearDown() |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @before |
||
| 32 | */ |
||
| 33 | public function killShopwareFunctionBefore() |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @after |
||
| 41 | */ |
||
| 42 | public function restoreShopwareFunctionAfter() |
||
| 46 | } |
||
| 47 | |||
| 58 | } |
If you suppress an error, we recommend checking for the error condition explicitly: