2222use Magento \Tax \Test \Fixture \TaxRule as TaxRule ;
2323use Magento \TestFramework \Fixture \DataFixture ;
2424use Magento \TestFramework \Fixture \DataFixtureStorageManager ;
25- use Magento \TestFramework \Fixture \Config ;
25+ use Magento \TestFramework \Fixture \Config as Config ;
2626use Magento \TestFramework \ObjectManager ;
2727use Magento \TestFramework \TestCase \WebapiAbstract ;
2828use Magento \Quote \Model \Quote ;
@@ -54,6 +54,13 @@ class CartTotalRepositoryTest extends WebapiAbstract
5454 */
5555 private $ fixtures ;
5656
57+ /**
58+ * @var Config
59+ */
60+ private $ object ;
61+
62+
63+
5764 protected function setUp (): void
5865 {
5966 $ this ->objectManager = \Magento \TestFramework \Helper \Bootstrap::getObjectManager ();
@@ -64,7 +71,7 @@ protected function setUp(): void
6471 \Magento \Framework \Api \FilterBuilder::class
6572 );
6673 $ this ->fixtures = $ this ->objectManager ->get (DataFixtureStorageManager::class)->getStorage ();
67- $ this ->_object = $ this ->createPartialMock (
74+ $ this ->object = $ this ->createPartialMock (
6875 Config::class,
6976 ['_getConfigValue ' , '_setConfigValue ' ]
7077 );
@@ -122,7 +129,8 @@ public function testGetTotals()
122129 'product '
123130 ),
124131 DataFixture(
125- GuestCartFixture::class, as: 'cart '
132+ GuestCartFixture::class,
133+ as: 'cart '
126134 ),
127135 DataFixture(
128136 AddProductToCartFixture::class,
0 commit comments