ltsecurityinc安防产品在线商城代码
This commit is contained in:
+38
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright © Magento, Inc. All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
namespace Magento\NewRelicReporting\Model\Module;
|
||||
|
||||
use Magento\TestFramework\Helper\Bootstrap;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/***
|
||||
* Class CollectTest
|
||||
*/
|
||||
class CollectTest extends TestCase
|
||||
{
|
||||
/**
|
||||
* @var Collect
|
||||
*/
|
||||
private $collect;
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
protected function setUp(): void
|
||||
{
|
||||
$this->collect = Bootstrap::getObjectManager()->create(Collect::class);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function testReport()
|
||||
{
|
||||
$this->collect->getModuleData();
|
||||
$moduleData = $this->collect->getModuleData();
|
||||
$this->assertEmpty($moduleData['changes']);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user