File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
dev/tests/integration/testsuite/Magento/Customer/_files Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -115,8 +115,8 @@ public function __construct(
115
115
*/
116
116
public function isAllowed ()
117
117
{
118
- return (bool )$ this ->scopeConfig ->getValue ('rss/wishlist/active ' , ScopeInterface::SCOPE_STORE )
119
- && $ this ->getWishlist ()->getCustomerId () === $ this ->wishlistHelper ->getCustomer ()->getId ();
118
+ return (bool )$ this ->scopeConfig ->isSetFlag ('rss/wishlist/active ' , ScopeInterface::SCOPE_STORE )
119
+ && $ this ->getWishlist ()->getCustomerId () == $ this ->wishlistHelper ->getCustomer ()->getId ();
120
120
}
121
121
122
122
/**
Original file line number Diff line number Diff line change 22
22
$ customer = $ customerRepository ->get ('customer_two@example.com ' );
23
23
$ customerRepository ->delete ($ customer );
24
24
} catch (NoSuchEntityException $ e ) {
25
- /**
26
- * Tests which are wrapped with MySQL transaction clear all data by transaction rollback.
27
- */
25
+ /** Tests which are wrapped with MySQL transaction clear all data by transaction rollback. */
28
26
}
29
27
30
28
$ registry ->unregister ('isSecureArea ' );
You can’t perform that action at this time.
0 commit comments