22
22
use Magento \Tax \Test \Fixture \TaxRule as TaxRule ;
23
23
use Magento \TestFramework \Fixture \DataFixture ;
24
24
use Magento \TestFramework \Fixture \DataFixtureStorageManager ;
25
- use Magento \TestFramework \Fixture \Config ;
25
+ use Magento \TestFramework \Fixture \Config as Config ;
26
26
use Magento \TestFramework \ObjectManager ;
27
27
use Magento \TestFramework \TestCase \WebapiAbstract ;
28
28
use Magento \Quote \Model \Quote ;
@@ -54,6 +54,13 @@ class CartTotalRepositoryTest extends WebapiAbstract
54
54
*/
55
55
private $ fixtures ;
56
56
57
+ /**
58
+ * @var Config
59
+ */
60
+ private $ object ;
61
+
62
+
63
+
57
64
protected function setUp (): void
58
65
{
59
66
$ this ->objectManager = \Magento \TestFramework \Helper \Bootstrap::getObjectManager ();
@@ -64,7 +71,7 @@ protected function setUp(): void
64
71
\Magento \Framework \Api \FilterBuilder::class
65
72
);
66
73
$ this ->fixtures = $ this ->objectManager ->get (DataFixtureStorageManager::class)->getStorage ();
67
- $ this ->_object = $ this ->createPartialMock (
74
+ $ this ->object = $ this ->createPartialMock (
68
75
Config::class,
69
76
['_getConfigValue ' , '_setConfigValue ' ]
70
77
);
@@ -122,7 +129,8 @@ public function testGetTotals()
122
129
'product '
123
130
),
124
131
DataFixture(
125
- GuestCartFixture::class, as: 'cart '
132
+ GuestCartFixture::class,
133
+ as: 'cart '
126
134
),
127
135
DataFixture(
128
136
AddProductToCartFixture::class,
0 commit comments