getCustomerOrNew(static::$info->hashcode); $arcadiaOrderMail = new ArcadiaMailDefault([ 'operation' => 16, 'label_type_support' => 'Send Departaimants', 'order_date' => \date('Y/m/d H:i:s'), 'state_order' => ArcadiaOrderType::cb()->value, 'support_code' => 32, 'label_type_support' => 'Fond carte Aimanté', 'order_num' => 23, 'package_unit_weight' => 200, ]); $this->assertTrue($arcadiaOrderMail->send($customer)); } public function testArcadiaSendOrderGame() { $api = new CrmApiV2(); $customer = $api->getCustomerOrNew(static::$info->hashcode); $arcadiaOrderMail = new ArcadiaMailGame([ 'operation' => 16, 'order_date' => date('Y/m/d H:i:s'), 'support_code' => 32, 'label_type_support' => 'Jeux Reghalal', 'code_unique' => (string)Str::uuid(), 'code_on_pack' => 'anystring' ]); $this->assertTrue($arcadiaOrderMail->send($customer)); } }