Skip to content

Commit

Permalink
Fix unit test after upgrading workflow to use ubuntu 20.04
Browse files Browse the repository at this point in the history
  • Loading branch information
ajibarra committed Sep 23, 2022
1 parent 8a1ea70 commit b2fef75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/TestCase/MigrationsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ public function testCreateWithEncoding()
// Tests that if a collation is defined, it is used
$numbersTable = $this->getTableLocator()->get('Numbers', ['connection' => $this->Connection]);
$options = $numbersTable->getSchema()->getOptions();
$this->assertSame('utf8_bin', $options['collation']);
$this->assertSame('utf8mb3_bin', $options['collation']);

// Tests that if a collation is not defined, it will use the database default one
$lettersTable = $this->getTableLocator()->get('Letters', ['connection' => $this->Connection]);
Expand Down

0 comments on commit b2fef75

Please sign in to comment.