change test bncodes with the one already given

This commit is contained in:
David Remer 2020-07-16 09:33:14 +03:00
parent 68866f8ef2
commit 3a24c28192

View file

@ -339,17 +339,16 @@ class SmartButton implements SmartButtonInterface
/** /**
* BN Codes * BN Codes
* *
* @ToDo Replace with the real codes once given.
* @return array * @return array
*/ */
private function bnCodes(): array private function bnCodes(): array
{ {
return [ return [
'checkout' => 'Woo_PPCP_checkout', 'checkout' => 'Woo_PPCP',
'cart' => 'Woo_PPCP_cart', 'cart' => 'Woo_PPCP',
'mini-cart' => 'Woo_PPCP_mini-cart', 'mini-cart' => 'Woo_PPCP',
'product' => 'Woo_PPCP_product', 'product' => 'Woo_PPCP',
]; ];
} }