failure test case

This commit is contained in:
rahulshukla-home 2020-11-18 11:02:10 +05:30
parent a3d8257a31
commit d6464a9c4c
1 changed files with 3 additions and 5 deletions

View File

@ -16,10 +16,8 @@ class EventServiceProvider extends ServiceProvider
*/
public function boot()
{
if (core()->getConfigData('sales.paymentmethods.paypal_smart_button.active')) {
Event::listen('bagisto.shop.layout.body.after', static function(ViewRenderEventManager $viewRenderEventManager) {
$viewRenderEventManager->addTemplate('paypal::checkout.onepage.paypal-smart-button');
});
}
Event::listen('bagisto.shop.layout.body.after', static function(ViewRenderEventManager $viewRenderEventManager) {
$viewRenderEventManager->addTemplate('paypal::checkout.onepage.paypal-smart-button');
});
}
}