Skip to content

Commit

Permalink
ユニットテストを調整
Browse files Browse the repository at this point in the history
  • Loading branch information
ryuring committed Oct 13, 2024
1 parent 3c7db69 commit 9d6f0cf
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -684,9 +684,9 @@ public function testGetAvailableCoreVersion($useUpdateNotice, $expectedVersion)
Configure::write('BcApp.coreReleaseUrl', $rssPath);
// Write the version to the version file
$file = new BcFile($versionPath);
$file->write('100.0.0');
$file->write('5.0.0');
// Generate the RSS feed
$this->createReleaseRss(['5.0.0', '5.0.1', '5.0.0']);
$this->createReleaseRss(['5.0.0', '5.0.1', '5.0.2']);
// Clear the cache
Cache::delete('coreReleaseInfo', '_bc_update_');

Expand All @@ -702,9 +702,9 @@ public static function availableCoreVersionDataProvider()
{
return [
//use_update_notice enabled
[true, '5.0.0'],
[true, '5.0.2'],
//use_update_notice disabled
[false, '100.0.0'],
[false, '5.0.0'],
];
}
}

0 comments on commit 9d6f0cf

Please sign in to comment.