Could you please add a simple test, please? \Ice\Mcv\Service extends Access, so
tests/App/Services/UserService.php
<?php
namespace Tests\App\Services;
use Ice\Mvc\Service;
use Tests\App\Models\Users;
class UserService extends Service
{
public function __construct(Users $model)
{
$this->setModel($model);
}
}
and to tests/ModelsTest.php
/**
* Service test
*/
public function testService()
{
$service = new \Tests\App\Services\UserService(new Users());
$this->assertInstanceOf(\Ice\Di::class, $service->di);
$this->assertInstanceOf(\Ice\Config::class, $service->config);
$this->assertInstanceOf(\Ice\Db::class, $service->db);
}
then we could try the previous version, maybe it works with the latest Zephir.
Could you please add a simple test, please? \Ice\Mcv\Service extends Access, so
tests/App/Services/UserService.php
and to
tests/ModelsTest.php
then we could try the previous version, maybe it works with the latest Zephir.