Add public keyword to methods

[MAILPOET-2413]
This commit is contained in:
Amine Ben hammou
2019-12-26 12:56:49 +01:00
committed by wxa
parent ec409042d5
commit 43df66d162
823 changed files with 4440 additions and 4440 deletions

View File

@ -8,7 +8,7 @@ use MailPoetVendor\Idiorm\ORM;
class NewsletterOptionTest extends \MailPoetTest {
public $data;
function __construct() {
public function __construct() {
parent::__construct();
$this->data = [
'newsletter_id' => 1,
@ -17,7 +17,7 @@ class NewsletterOptionTest extends \MailPoetTest {
];
}
function testItCanCreateOrUpdateNewsletterOptionFieldRelation() {
public function testItCanCreateOrUpdateNewsletterOptionFieldRelation() {
// it can create
$data = $this->data;
NewsletterOption::createOrUpdate($data);
@ -36,7 +36,7 @@ class NewsletterOptionTest extends \MailPoetTest {
}
function _after() {
public function _after() {
ORM::raw_execute('TRUNCATE ' . NewsletterOption::$_table);
}
}