Skip to content
This repository was archived by the owner on Jun 4, 2024. It is now read-only.

Commit 5a10635

Browse files
committed
Fix issue - 2
1 parent d8791d8 commit 5a10635

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/MultiDbFreshMigrationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ public function testAfterKeyword()
175175
Yii::$app->set('db', Yii::$app->mysql);
176176
$this->assertInstanceOf(MySqlSchema::class, Yii::$app->db->schema);
177177

178-
$version = PHP_VERSION;
178+
$version = Yii::$app->db->createCommand('SELECT VERSION();')->queryScalar();
179179
$dbSchema = Yii::$app->db->schema;
180180
$columnSchema = new ColumnSchema([
181181
'type' => 'integer',

0 commit comments

Comments
 (0)