[TASK] Update typo3/testing-framework from 1.0.1 to 1.0.5 34/52534/3
authorChristian Kuhn <lolli@schwarzbu.ch>
Thu, 20 Apr 2017 20:15:08 +0000 (22:15 +0200)
committerBenni Mack <benni@typo3.org>
Thu, 20 Apr 2017 22:17:59 +0000 (00:17 +0200)
A couple of composer changes and removal of a deprecated core call.

Change-Id: I8c3ad0689800f8848c39a31a4a76dc411314314f
Resolves: #80930
Releases: 8.7
Reviewed-on: https://review.typo3.org/52534
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
composer.lock
typo3/sysext/core/Tests/Functional/Database/DatabaseConnectionTest.php
typo3/sysext/core/Tests/Functional/Database/PreparedStatementTest.php

index 8e8cca3..57fb476 100644 (file)
         },
         {
             "name": "typo3/testing-framework",
-            "version": "1.0.1",
+            "version": "1.0.5",
             "source": {
                 "type": "git",
                 "url": "https://github.com/TYPO3/testing-framework.git",
-                "reference": "91ac925c3e56f1dde6833d6143417bc2cabc4176"
+                "reference": "cfad33e387fb51f2657984e4213f0b167d4d2f45"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/TYPO3/testing-framework/zipball/91ac925c3e56f1dde6833d6143417bc2cabc4176",
-                "reference": "91ac925c3e56f1dde6833d6143417bc2cabc4176",
+                "url": "https://api.github.com/repos/TYPO3/testing-framework/zipball/cfad33e387fb51f2657984e4213f0b167d4d2f45",
+                "reference": "cfad33e387fb51f2657984e4213f0b167d4d2f45",
                 "shasum": ""
             },
             "require": {
                 "mikey179/vfsstream": "~1.6.0",
                 "phpunit/phpunit": "^5.6",
-                "typo3/cms-backend": "^8.5",
-                "typo3/cms-core": "^8.5",
-                "typo3/cms-extbase": "^8.5",
-                "typo3/cms-fluid": "^8.5",
-                "typo3/cms-frontend": "^8.5",
+                "typo3/cms-backend": "^8.5 || ^9",
+                "typo3/cms-core": "^8.5 || ^9",
+                "typo3/cms-extbase": "^8.5 || ^9",
+                "typo3/cms-fluid": "^8.5 || ^9",
+                "typo3/cms-frontend": "^8.5 || ^9",
                 "typo3fluid/fluid": "^2.2"
             },
             "suggest": {
                 "tests",
                 "typo3"
             ],
-            "time": "2017-04-03T10:27:36+00:00"
+            "time": "2017-04-20T19:59:33+00:00"
         },
         {
             "name": "webmozart/assert",
index ffa5f21..96ffcd5 100644 (file)
@@ -13,6 +13,7 @@ namespace TYPO3\CMS\Core\Tests\Functional\Database;
  *
  * The TYPO3 project - inspiring people to share!
  */
+use TYPO3\CMS\Core\Core\Bootstrap;
 use TYPO3\CMS\Core\Database\DatabaseConnection;
 use TYPO3\TestingFramework\Core\AccessibleObjectInterface;
 
@@ -47,6 +48,7 @@ class DatabaseConnectionTest extends \TYPO3\TestingFramework\Core\Functional\Fun
     protected function setUp()
     {
         parent::setUp();
+        Bootstrap::getInstance()->initializeTypo3DbGlobal();
         $this->subject = $GLOBALS['TYPO3_DB'];
         $this->subject->sql_query(
             "CREATE TABLE {$this->testTable} (" .
index c47f57c..edc0ba5 100644 (file)
@@ -14,6 +14,7 @@ namespace TYPO3\CMS\Core\Tests\Functional\Database;
  * The TYPO3 project - inspiring people to share!
  */
 
+use TYPO3\CMS\Core\Core\Bootstrap;
 use TYPO3\CMS\Core\Database\DatabaseConnection;
 
 /**
@@ -47,6 +48,7 @@ class PreparedStatementTest extends \TYPO3\TestingFramework\Core\Functional\Func
     protected function setUp()
     {
         parent::setUp();
+        Bootstrap::getInstance()->initializeTypo3DbGlobal();
         $this->subject = $GLOBALS['TYPO3_DB'];
         $this->subject->sql_query(
             "CREATE TABLE {$this->testTable} (" .