opencart-module/tests/catalog/ModelRetailcrmOrderCatalogTest.php

16 lines
340 B
PHP
Raw Normal View History

2018-06-13 16:13:08 +03:00
<?php
2018-09-27 16:46:04 +03:00
namespace Tests;
2018-06-13 16:13:08 +03:00
class ModelRetailcrmOrderCatalogTest extends OpenCartTest
{
2018-09-27 16:46:04 +03:00
public function testGetOrderStatus()
2018-06-13 16:13:08 +03:00
{
2018-09-27 16:46:04 +03:00
$model = $this->loadModel('extension/retailcrm/order');
$status_id = $model->getOrderStatusId(1);
2018-06-13 16:13:08 +03:00
2018-09-27 16:46:04 +03:00
$this->assertNotEmpty($status_id);
$this->assertNotNull($status_id);
2018-06-13 16:13:08 +03:00
}
}