Skip to content

Commit 34e143d

Browse files
committed
Docs
1 parent 51097bd commit 34e143d

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

  • src/app/code/community/FireGento/AdminMonitoring/Test/Config

src/app/code/community/FireGento/AdminMonitoring/Test/Config/Setup.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,28 +27,43 @@
2727
*/
2828
class FireGento_AdminMonitoring_Test_Config_Setup extends EcomDev_PHPUnit_Test_Case_Config
2929
{
30+
/**
31+
* Test setup scripts
32+
*/
3033
public function testSetupScripts()
3134
{
3235
$this->assertSetupResourceDefined();
3336
$this->assertSetupResourceExists();
3437
}
3538

39+
/**
40+
* Test module version and code pool
41+
*/
3642
public function testModuleVersion()
3743
{
3844
$this->assertModuleCodePool('community');
3945
$this->assertModuleVersionGreaterThanOrEquals('1.0.0');
4046
}
4147

48+
/**
49+
* Test model names
50+
*/
4251
public function testModelNames()
4352
{
4453
$this->assertModelAlias('firegento_adminmonitoring/history', 'FireGento_AdminMonitoring_Model_History');
4554
}
4655

56+
/**
57+
* Test helper names
58+
*/
4759
public function testHelperNames()
4860
{
4961
$this->assertHelperAlias('firegento_adminmonitoring', 'FireGento_AdminMonitoring_Helper_Data');
5062
}
5163

64+
/**
65+
* Test resource names
66+
*/
5267
public function testResourceName()
5368
{
5469
$this->assertResourceModelAlias(
@@ -59,6 +74,9 @@ public function testResourceName()
5974
);
6075
}
6176

77+
/**
78+
* Test if database table exists
79+
*/
6280
public function testTableExists()
6381
{
6482
$this->assertTableAlias('firegento_adminmonitoring/history', 'firegento_adminmonitoring_history');

0 commit comments

Comments
 (0)