Skip to content

Commit

Permalink
Get migrations + 5.1 tests passing locally.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Jul 24, 2024
1 parent 96490dc commit 0795aa1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ jobs:
composer update --prefer-lowest --prefer-stable
elif ${{ matrix.cake_version != '' }}; then
composer require --dev "cakephp/cakephp:${{ matrix.cake_version }}"
composer require --dev "cakephp/bake:dev-3.next as 3.1.0"
composer update
else
composer update
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ public function testSnapshotDiffWithAutoIdIncompatibleUnsignedPrimaryKeys(): voi
*/
public function testPluginBlog()
{
$this->loadPlugins(['TestBlog']);
$this->migrationPath = ROOT . DS . 'Plugin' . DS . 'TestBlog' . DS . 'config' . DS . 'Migrations' . DS;

$this->runSnapshotTest('PluginBlog', '-p TestBlog');
Expand Down
1 change: 0 additions & 1 deletion tests/TestCase/Command/BakeSeedCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ public function setUp(): void
{
parent::setUp();
$this->_compareBasePath = Plugin::path('Migrations') . 'tests' . DS . 'comparisons' . DS . 'Seeds' . DS;
$this->clearPlugins();
}

/**
Expand Down

0 comments on commit 0795aa1

Please sign in to comment.