dereuromark 8 years ago
parent
commit
f00521dab2

+ 1 - 2
tests/TestCase/Controller/Component/CommonComponentTest.php

@@ -2,11 +2,11 @@
 
 namespace Tools\Test\TestCase\Controller\Component;
 
+use App\Controller\CommonComponentTestController;
 use Cake\Controller\Controller;
 use Cake\Core\Configure;
 use Cake\Network\Request;
 use Cake\Network\Session;
-use App\Controller\CommonComponentTestController;
 use Tools\TestSuite\TestCase;
 
 /**
@@ -29,7 +29,6 @@ class CommonComponentTest extends TestCase {
 	public function setUp() {
 		parent::setUp();
 
-		
 		Configure::write('App.fullBaseUrl', 'http://localhost');
 
 		$this->request = new Request('/my_controller/foo');

+ 1 - 1
tests/TestCase/Controller/Component/MobileComponentTest.php

@@ -2,11 +2,11 @@
 
 namespace Tools\Test\TestCase\Controller\Component;
 
+use App\Controller\MobileComponentTestController;
 use Cake\Core\Configure;
 use Cake\Event\Event;
 use Cake\Network\Request;
 use Detection\MobileDetect;
-use App\Controller\MobileComponentTestController;
 use Tools\TestSuite\TestCase;
 
 /**

+ 1 - 1
tests/TestCase/Controller/Component/UrlComponentTest.php

@@ -2,12 +2,12 @@
 
 namespace Tools\Test\TestCase\Controller\Component;
 
+use App\Controller\UrlComponentTestController;
 use Cake\Core\Configure;
 use Cake\Core\Plugin;
 use Cake\Event\Event;
 use Cake\Network\Request;
 use Cake\Routing\Router;
-use App\Controller\UrlComponentTestController;
 use Tools\TestSuite\TestCase;
 
 /**

+ 0 - 2
tests/TestCase/Controller/ControllerTest.php

@@ -27,8 +27,6 @@ class ControllerTest extends TestCase {
 	public function setUp() {
 		parent::setUp();
 
-
-
 		$this->Controller = new Controller();
 		$this->Controller->startupProcess();
 	}

+ 0 - 3
tests/TestCase/Form/ContactFormTest.php

@@ -2,7 +2,6 @@
 
 namespace Tools\Form;
 
-use Cake\Core\Configure;
 use Tools\Form\ContactForm;
 use Tools\TestSuite\TestCase;
 
@@ -29,8 +28,6 @@ class ContactFormTest extends TestCase {
 	public function setUp() {
 		parent::setUp();
 
-
-
 		$this->Form = new ContactForm();
 	}
 

+ 1 - 1
tests/TestCase/Mailer/EmailTest.php

@@ -2,10 +2,10 @@
 
 namespace Tools\Test\TestCase\Mailer;
 
+use App\Mailer\TestEmail;
 use Cake\Core\Configure;
 use Cake\Core\Plugin;
 use Cake\Log\Log;
-use App\Mailer\TestEmail;
 use Tools\Mailer\Email;
 use Tools\TestSuite\TestCase;
 

+ 1 - 4
tests/TestCase/Model/Behavior/BitmaskedBehaviorTest.php

@@ -2,9 +2,8 @@
 
 namespace Tools\Test\TestCase\Model\Behavior;
 
-use Cake\Core\Configure;
-use Cake\ORM\TableRegistry;
 use App\Model\Entity\BitmaskedComment;
+use Cake\ORM\TableRegistry;
 use Tools\TestSuite\TestCase;
 
 class BitmaskedBehaviorTest extends TestCase {
@@ -27,8 +26,6 @@ class BitmaskedBehaviorTest extends TestCase {
 	public function setUp() {
 		parent::setUp();
 
-
-
 		$this->Comments = TableRegistry::get('BitmaskedComments');
 		$this->Comments->addBehavior('Tools.Bitmasked', ['mappedField' => 'statuses']);
 	}

+ 0 - 3
tests/TestCase/Model/Behavior/JsonableBehaviorTest.php

@@ -2,7 +2,6 @@
 
 namespace Tools\Test\TestCase\Model\Behavior;
 
-use Cake\Core\Configure;
 use Cake\ORM\TableRegistry;
 use stdClass;
 use Tools\TestSuite\TestCase;
@@ -27,8 +26,6 @@ class JsonableBehaviorTest extends TestCase {
 	public function setUp() {
 		parent::setUp();
 
-
-
 		$this->Comments = TableRegistry::get('JsonableComments');
 		$this->Comments->addBehavior('Tools.Jsonable', ['fields' => ['details']]);
 	}

+ 0 - 2
tests/TestCase/Model/Behavior/PasswordableBehaviorTest.php

@@ -31,8 +31,6 @@ class PasswordableBehaviorTest extends TestCase {
 	public function setUp() {
 		parent::setUp();
 
-
-
 		Configure::delete('Passwordable');
 		Configure::write('Passwordable.auth', 'AuthTest');
 

+ 0 - 3
tests/TestCase/Model/Behavior/ResetBehaviorTest.php

@@ -2,7 +2,6 @@
 
 namespace Tools\Model\Behavior;
 
-use Cake\Core\Configure;
 use Cake\ORM\TableRegistry;
 use Tools\Model\Table\Table;
 use Tools\TestSuite\TestCase;
@@ -30,8 +29,6 @@ class ResetBehaviorTest extends TestCase {
 	public function setUp() {
 		parent::setUp();
 
-
-
 		$this->Table = TableRegistry::get('ResetComments');
 		$this->Table->addBehavior('Tools.Reset');
 	}

+ 0 - 3
tests/TestCase/Model/Entity/EntityTest.php

@@ -2,7 +2,6 @@
 
 namespace Tools\Model\Entity;
 
-use Cake\Core\Configure;
 use Cake\ORM\TableRegistry;
 use Tools\TestSuite\TestCase;
 
@@ -26,8 +25,6 @@ class EntityTest extends TestCase {
 	public function setUp() {
 		parent::setUp();
 
-
-
 		$this->Users = TableRegistry::get('ToolsUsers');
 	}
 

+ 0 - 3
tests/TestCase/Model/Table/TableTest.php

@@ -2,7 +2,6 @@
 
 namespace Tools\Model\Table;
 
-use Cake\Core\Configure;
 use Cake\Datasource\ConnectionManager;
 use Cake\I18n\Time;
 use Cake\ORM\TableRegistry;
@@ -31,8 +30,6 @@ class TableTest extends TestCase {
 	public function setUp() {
 		parent::setUp();
 
-
-
 		$this->Users = TableRegistry::get('ToolsUsers');
 
 		$this->Posts = TableRegistry::get('Posts');

+ 1 - 1
tests/TestCase/View/Helper/TimelineHelperTest.php

@@ -2,9 +2,9 @@
 
 namespace Tools\Test\TestCase\View\Helper;
 
+use App\View\Helper\TimelineHelper;
 use Cake\View\View;
 use DateTime;
-use App\View\Helper\TimelineHelper;
 use Tools\TestSuite\TestCase;
 
 /**