Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Aug 29, 2024
1 parent 597b4ae commit 01176c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/ConnectionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public function testRestartConnectionOnTimeout(): void

sleep(2);

$result = $db->createCommand("SELECT 1")->queryScalar();
$result = $db->createCommand('SELECT 1')->queryScalar();

$this->assertSame('1', $result);

Expand All @@ -154,6 +154,6 @@ public function testNotRestartConnectionOnTimeoutInTransaction(): void
$this->expectException(IntegrityException::class);
$this->expectExceptionMessage('SQLSTATE[HY000]: General error: 2006 MySQL server has gone away');

$db->createCommand("SELECT 1")->queryScalar();
$db->createCommand('SELECT 1')->queryScalar();
}
}

0 comments on commit 01176c4

Please sign in to comment.