init
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright © Magento, Inc. All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
namespace Magento\Directory\Helper;
|
||||
|
||||
class DataTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
/**
|
||||
* @var \Magento\Directory\Helper\Data
|
||||
*/
|
||||
protected $helper;
|
||||
|
||||
protected function setUp(): void
|
||||
{
|
||||
$this->helper = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->get(
|
||||
\Magento\Directory\Helper\Data::class
|
||||
);
|
||||
}
|
||||
|
||||
public function testGetDefaultCountry()
|
||||
{
|
||||
$this->assertEquals('US', $this->helper->getDefaultCountry());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user