Fix PSR1.Classes.ClassDeclaration sniffer rule in tests [MAILPOET-1025]

This commit is contained in:
stoletniy
2017-07-26 18:28:56 +03:00
parent 321393f119
commit 6fb18ad321
87 changed files with 336 additions and 224 deletions

View File

@@ -1,9 +1,11 @@
<?php
namespace MailPoet\Test\API\JSON\v1;
use MailPoet\API\JSON\v1\Segments;
use MailPoet\API\JSON\Response as APIResponse;
use MailPoet\Models\Segment;
class SegmentsTest extends MailPoetTest {
class SegmentsTest extends \MailPoetTest {
function _before() {
$this->segment_1 = Segment::createOrUpdate(array('name' => 'Segment 1'));
$this->segment_2 = Segment::createOrUpdate(array('name' => 'Segment 2'));