Skip to content

Commit d8c53d1

Browse files
authored
Clearing ViewDo before every Scenario (#6)
1 parent 1347196 commit d8c53d1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Test/Integration/FeatureContextAbstract.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88
use PHPUnit\Framework\Assert;
99
use ShoppinPal\YapepCommon\Bootstrap\BootstrapAbstract;
1010
use ShoppinPal\YapepCommon\Storage\StorageFactory;
11+
use YapepBase\Application;
1112
use YapepBase\Communication\CurlHttpRequest;
1213
use YapepBase\Communication\CurlHttpRequestResult;
1314
use YapepBase\Config;
1415
use YapepBase\Exception\Exception;
1516
use YapepBase\File\FileHandlerPhp;
16-
use YapepBase\Request\HttpRequest;
1717

1818

1919
/**
@@ -67,6 +67,7 @@ public function initScenario()
6767
$this->getDbInitializer()->initDatabase();
6868
$this->initLogs();
6969
$this->cleanUpStorages();
70+
Application::getInstance()->getDiContainer()->getViewDo()->clear();
7071
}
7172

7273
/**

0 commit comments

Comments
 (0)