Skip to content

Commit

Permalink
ユニットテスト
Browse files Browse the repository at this point in the history
  • Loading branch information
dovanhung committed Nov 15, 2024
1 parent df12264 commit 81718c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/baser-core/tests/TestCase/BcPluginTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ public function test_execScript()
$this->BcPlugin->execScript($version);
$users = $this->getTableLocator()->get('BaserCore.Users');
$user = $users->find()->where(['id' => 1])->first();
$this->assertEquals('test', $user->name);
$this->assertEquals('hoge', $user->name);
// 無効スクリプトあり
$file = new BcFile($versionPath . DS . 'updater.php');
$file->create();
Expand Down

0 comments on commit 81718c8

Please sign in to comment.