diff --git a/core/Test/ResControllerTest.php b/core/Test/ResControllerTest.php
index 1444ddae4fdec51211c4ec0296556fb83f54b5b4..fa066e3ec29286e6b65a842fbcfd5315b3dd1d65 100755
--- a/core/Test/ResControllerTest.php
+++ b/core/Test/ResControllerTest.php
@@ -221,28 +221,6 @@ class ResControllerTest extends TestCase
         $this->assertSame('Bad Request', $responseBody->errors);
     }
 
-    public function testDelete()
-    {
-        //  DELETE
-        \Resource\models\ResModel::delete(['resId' => self::$id]);
-
-        //  READ
-        $res = \Resource\models\ResModel::getById(['resId' => self::$id]);
-        $this->assertInternalType('array', $res);
-        $this->assertSame('DEL', $res['status']);
-
-        //  REAL DELETE
-        \SrcCore\models\DatabaseModel::delete([
-            'table' => 'res_letterbox',
-            'where' => ['res_id = ?'],
-            'data'  => [self::$id]
-        ]);
-
-        //  READ
-        $res = \Resource\models\ResModel::getById(['resId' => self::$id]);
-        $this->assertSame(null, $res);
-    }
-
     public function testGetList()
     {
         $resController = new \Resource\controllers\ResController();
@@ -308,4 +286,26 @@ class ResControllerTest extends TestCase
         $arr_res = $responseBody->resources;
         $this->assertSame("Bad Request: clause parameter not valid", $responseBody->errors);
     }
+
+    public function testDelete()
+    {
+        //  DELETE
+        \Resource\models\ResModel::delete(['resId' => self::$id]);
+
+        //  READ
+        $res = \Resource\models\ResModel::getById(['resId' => self::$id]);
+        $this->assertInternalType('array', $res);
+        $this->assertSame('DEL', $res['status']);
+
+        //  REAL DELETE
+        \SrcCore\models\DatabaseModel::delete([
+            'table' => 'res_letterbox',
+            'where' => ['res_id = ?'],
+            'data'  => [self::$id]
+        ]);
+
+        //  READ
+        $res = \Resource\models\ResModel::getById(['resId' => self::$id]);
+        $this->assertSame(null, $res);
+    }
 }