Commit 6bf96240 authored by alban's avatar alban
Browse files

[fix] SetUp and tearDown for tests should call parent props

parent ba34e2a4
......@@ -59,6 +59,7 @@ class DummyTest extends AlterncTest
*/
protected function tearDown()
{
parent::tearDown();
}
......
......@@ -15,6 +15,7 @@ class m_actionTest extends PHPUnit_Framework_TestCase
*/
protected function setUp()
{
parent::setUp();
$this->object = new m_action;
}
......@@ -24,6 +25,7 @@ class m_actionTest extends PHPUnit_Framework_TestCase
*/
protected function tearDown()
{
parent::tearDown();
}
/**
......
......@@ -15,6 +15,7 @@ class m_adminTest extends PHPUnit_Framework_TestCase
*/
protected function setUp()
{
parent::setUp();
$this->object = new m_admin;
}
......@@ -24,6 +25,7 @@ class m_adminTest extends PHPUnit_Framework_TestCase
*/
protected function tearDown()
{
parent::tearDown();
}
/**
......
......@@ -15,6 +15,7 @@ class m_authipTest extends PHPUnit_Framework_TestCase
*/
protected function setUp()
{
parent::setUp();
$this->object = new m_authip;
}
......@@ -24,6 +25,7 @@ class m_authipTest extends PHPUnit_Framework_TestCase
*/
protected function tearDown()
{
parent::tearDown();
}
/**
......
......@@ -15,6 +15,7 @@ class m_broTest extends PHPUnit_Framework_TestCase
*/
protected function setUp()
{
parent::setUp();
$this->object = new m_bro;
}
......@@ -24,6 +25,7 @@ class m_broTest extends PHPUnit_Framework_TestCase
*/
protected function tearDown()
{
parent::tearDown();
}
/**
......
......@@ -15,6 +15,7 @@ class m_cronTest extends PHPUnit_Framework_TestCase
*/
protected function setUp()
{
parent::setUp();
$this->object = new m_cron;
}
......@@ -24,6 +25,7 @@ class m_cronTest extends PHPUnit_Framework_TestCase
*/
protected function tearDown()
{
parent::tearDown();
}
/**
......
......@@ -15,6 +15,7 @@ class m_cryptoTest extends PHPUnit_Framework_TestCase
*/
protected function setUp()
{
parent::setUp();
$this->object = new m_crypto;
}
......@@ -24,6 +25,7 @@ class m_cryptoTest extends PHPUnit_Framework_TestCase
*/
protected function tearDown()
{
parent::tearDown();
}
/**
......
......@@ -15,6 +15,7 @@ class m_debug_alterncTest extends PHPUnit_Framework_TestCase
*/
protected function setUp()
{
parent::setUp();
$this->object = new m_debug_alternc;
}
......@@ -24,6 +25,7 @@ class m_debug_alterncTest extends PHPUnit_Framework_TestCase
*/
protected function tearDown()
{
parent::tearDown();
}
/**
......
......@@ -15,6 +15,7 @@ class m_domTest extends PHPUnit_Framework_TestCase
*/
protected function setUp()
{
parent::setUp();
$this->object = new m_dom;
}
......@@ -24,6 +25,7 @@ class m_domTest extends PHPUnit_Framework_TestCase
*/
protected function tearDown()
{
parent::tearDown();
}
/**
......
......@@ -15,6 +15,7 @@ class m_errTest extends PHPUnit_Framework_TestCase
*/
protected function setUp()
{
parent::setUp();
$this->object = new m_err;
}
......@@ -24,6 +25,7 @@ class m_errTest extends PHPUnit_Framework_TestCase
*/
protected function tearDown()
{
parent::tearDown();
}
/**
......
......@@ -15,6 +15,7 @@ class m_exportTest extends PHPUnit_Framework_TestCase
*/
protected function setUp()
{
parent::setUp();
$this->object = new m_export;
}
......@@ -24,6 +25,7 @@ class m_exportTest extends PHPUnit_Framework_TestCase
*/
protected function tearDown()
{
parent::tearDown();
}
/**
......
......@@ -15,6 +15,7 @@ class m_ftpTest extends PHPUnit_Framework_TestCase
*/
protected function setUp()
{
parent::setUp();
$this->object = new m_ftp;
}
......@@ -24,6 +25,7 @@ class m_ftpTest extends PHPUnit_Framework_TestCase
*/
protected function tearDown()
{
parent::tearDown();
}
/**
......
......@@ -15,6 +15,7 @@ class m_hooksTest extends PHPUnit_Framework_TestCase
*/
protected function setUp()
{
parent::setUp();
$this->object = new m_hooks;
}
......@@ -24,6 +25,7 @@ class m_hooksTest extends PHPUnit_Framework_TestCase
*/
protected function tearDown()
{
parent::tearDown();
}
/**
......
......@@ -15,6 +15,7 @@ class m_htaTest extends PHPUnit_Framework_TestCase
*/
protected function setUp()
{
parent::setUp();
$this->object = new m_hta;
}
......@@ -24,6 +25,7 @@ class m_htaTest extends PHPUnit_Framework_TestCase
*/
protected function tearDown()
{
parent::tearDown();
}
/**
......
......@@ -15,6 +15,7 @@ class m_logTest extends PHPUnit_Framework_TestCase
*/
protected function setUp()
{
parent::setUp();
$this->object = new m_log;
}
......@@ -24,6 +25,7 @@ class m_logTest extends PHPUnit_Framework_TestCase
*/
protected function tearDown()
{
parent::tearDown();
}
/**
......
......@@ -15,6 +15,7 @@ class m_lxcTest extends PHPUnit_Framework_TestCase
*/
protected function setUp()
{
parent::setUp();
$this->object = new m_lxc;
}
......@@ -24,6 +25,7 @@ class m_lxcTest extends PHPUnit_Framework_TestCase
*/
protected function tearDown()
{
parent::tearDown();
}
/**
......
......@@ -15,6 +15,7 @@ class m_mailTest extends PHPUnit_Framework_TestCase
*/
protected function setUp()
{
parent::setUp();
$this->object = new m_mail;
}
......@@ -24,6 +25,7 @@ class m_mailTest extends PHPUnit_Framework_TestCase
*/
protected function tearDown()
{
parent::tearDown();
}
/**
......
......@@ -15,6 +15,7 @@ class m_memTest extends PHPUnit_Framework_TestCase
*/
protected function setUp()
{
parent::setUp();
$this->object = new m_mem;
}
......@@ -24,6 +25,7 @@ class m_memTest extends PHPUnit_Framework_TestCase
*/
protected function tearDown()
{
parent::tearDown();
}
/**
......
......@@ -15,6 +15,7 @@ class m_menuTest extends PHPUnit_Framework_TestCase
*/
protected function setUp()
{
parent::setUp();
$this->object = new m_menu;
}
......@@ -24,6 +25,7 @@ class m_menuTest extends PHPUnit_Framework_TestCase
*/
protected function tearDown()
{
parent::tearDown();
}
/**
......
......@@ -15,6 +15,7 @@ class m_piwikTest extends PHPUnit_Framework_TestCase
*/
protected function setUp()
{
parent::setUp();
$this->object = new m_piwik;
}
......@@ -24,6 +25,7 @@ class m_piwikTest extends PHPUnit_Framework_TestCase
*/
protected function tearDown()
{
parent::tearDown();
}
/**
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment