Первичное портирование логики сервера авторизации с PhalconPHP на Yii2

This commit is contained in:
ErickSkrauch
2016-08-21 02:21:39 +03:00
parent d0fcc8cd6f
commit b57b015f66
24 changed files with 573 additions and 9 deletions

View File

@@ -9,7 +9,7 @@ use yii\db\ActiveRecord;
class PrimaryKeyValueBehaviorTest extends TestCase {
use Specify;
public function testSetPrimaryKeyValue() {
public function testRefreshPrimaryKeyValue() {
$this->specify('method should generate value for primary key field on call', function() {
$model = new DummyModel();
/** @var PrimaryKeyValueBehavior|\PHPUnit_Framework_MockObject_MockObject $behavior */