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()); }
function __construct() { parent::__construct('_wp_mail_sent'); }