Skip to content

Commit 3b618b0

Browse files
authored
Test update
Adding GetVersion function and PatchVersionInterface class
1 parent f634144 commit 3b618b0

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

app/code/Magento/Directory/Setup/Patch/Data/AddDataForCostaRica.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
use Magento\Directory\Setup\DataInstallerFactory;
1212
use Magento\Framework\Setup\ModuleDataSetupInterface;
1313
use Magento\Framework\Setup\Patch\DataPatchInterface;
14-
14+
use Magento\Framework\Setup\Patch\PatchVersionInterface;
1515
/**
1616
* Add Costa Rica States/Regions
1717
*/
18-
class AddDataForCostaRica implements DataPatchInterface
18+
class AddDataForCostaRica implements DataPatchInterface,PatchVersionInterface
1919
{
2020
/**
2121
* @var ModuleDataSetupInterface
@@ -90,4 +90,8 @@ public function getAliases()
9090
{
9191
return [];
9292
}
93+
public static function getVersion()
94+
{
95+
return '2.4.2';
96+
}
9397
}

0 commit comments

Comments
 (0)