init
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright © Magento, Inc. All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Test class for \Magento\Customer\Block\Widget\Dob
|
||||
*/
|
||||
namespace Magento\Customer\Block\Widget;
|
||||
|
||||
class DobTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
public function testGetDateFormat()
|
||||
{
|
||||
$block = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->create(
|
||||
\Magento\Customer\Block\Widget\Dob::class
|
||||
);
|
||||
$this->assertNotEmpty($block->getDateFormat());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user