Пример #1
0
 function disabled_activate_order()
 {
     $pending = new APP_Callback_Catcher('appthemes_transaction_pending');
     $completed = new APP_Callback_Catcher('appthemes_transaction_completed');
     $activated = new APP_Callback_Catcher('appthemes_transaction_activated');
     $this->order->activate();
     $this->assertTrue($activated->was_called());
 }
Пример #2
0
 function __construct()
 {
     parent::__construct('_wp_mail_sent');
 }