Skip to content

Commit 75825dc

Browse files
committed
MC-40073: Create automated test for: "Guest and customer comparison lists merging"
1 parent 9bbf81f commit 75825dc

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

dev/tests/integration/testsuite/Magento/Catalog/Observer/Compare/BindCustomerLoginObserverTest.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,17 @@ protected function setUp(): void
5050
$this->listCompareFactory = $this->objectManager->get(ListCompareFactory::class);
5151
}
5252

53+
/**
54+
* @inheritdoc
55+
*/
56+
protected function tearDown(): void
57+
{
58+
$this->session->logout();
59+
$this->visitor->setId(null);
60+
61+
parent::tearDown();
62+
}
63+
5364
/**
5465
* @magentoDataFixture Magento/Catalog/_files/visitor_compare_list.php
5566
* @magentoDataFixture Magento/Customer/_files/customer.php

0 commit comments

Comments
 (0)