mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-10 00:16:13 +01:00

[TASK] Make the extension compatible with TYPO3 CMS 7.6

This commit is contained in:
Oliver Klee 2016-07-16 21:39:04 +02:00
parent 48e267693c
commit bc58abde55
11 changed files with 55 additions and 5 deletions

View file

@ -26,6 +26,11 @@ use TYPO3\CMS\Extbase\Object\ObjectManager;
*/ */
class TeaBeverageRepositoryTest extends \Tx_Phpunit_Database_TestCase class TeaBeverageRepositoryTest extends \Tx_Phpunit_Database_TestCase
{ {
/**
* @var bool
*/
protected $backupGlobals = false;
/** /**
* @var TeaBeverageRepository|\PHPUnit_Framework_MockObject_MockObject * @var TeaBeverageRepository|\PHPUnit_Framework_MockObject_MockObject
*/ */

View file

@ -26,6 +26,11 @@ use TYPO3\CMS\Extbase\Object\ObjectManager;
*/ */
class TestimonialRepositoryTest extends \TYPO3\CMS\Core\Tests\UnitTestCase class TestimonialRepositoryTest extends \TYPO3\CMS\Core\Tests\UnitTestCase
{ {
/**
* @var bool
*/
protected $backupGlobals = false;
/** /**
* @var TestimonialRepository * @var TestimonialRepository
*/ */

View file

@ -24,6 +24,11 @@ use org\bovigo\vfs\vfsStreamDirectory;
*/ */
class FileUtilityTest extends \TYPO3\CMS\Core\Tests\UnitTestCase class FileUtilityTest extends \TYPO3\CMS\Core\Tests\UnitTestCase
{ {
/**
* @var bool
*/
protected $backupGlobals = false;
/** /**
* @var \OliverKlee\Tea\Utility\FileUtility * @var \OliverKlee\Tea\Utility\FileUtility
*/ */

View file

@ -26,6 +26,11 @@ use TYPO3\CMS\Extbase\Persistence\ObjectStorage;
*/ */
class TestimonialControllerTest extends \TYPO3\CMS\Core\Tests\UnitTestCase class TestimonialControllerTest extends \TYPO3\CMS\Core\Tests\UnitTestCase
{ {
/**
* @var bool
*/
protected $backupGlobals = false;
/** /**
* @var TestimonialController * @var TestimonialController
*/ */

View file

@ -21,6 +21,11 @@ namespace OliverKlee\Tea\Tests\Unit\Domain\Model;
*/ */
class AdditionTest extends \TYPO3\CMS\Core\Tests\UnitTestCase class AdditionTest extends \TYPO3\CMS\Core\Tests\UnitTestCase
{ {
/**
* @var bool
*/
protected $backupGlobals = false;
/** /**
* @var \OliverKlee\Tea\Domain\Model\Addition * @var \OliverKlee\Tea\Domain\Model\Addition
*/ */

View file

@ -23,6 +23,11 @@ use TYPO3\CMS\Extbase\Persistence\ObjectStorage;
*/ */
class TeaBeverageTest extends \TYPO3\CMS\Core\Tests\UnitTestCase class TeaBeverageTest extends \TYPO3\CMS\Core\Tests\UnitTestCase
{ {
/**
* @var bool
*/
protected $backupGlobals = false;
/** /**
* @var \OliverKlee\Tea\Domain\Model\TeaBeverage * @var \OliverKlee\Tea\Domain\Model\TeaBeverage
*/ */

View file

@ -21,6 +21,11 @@ namespace OliverKlee\Tea\Tests\Unit\Domain\Model;
*/ */
class TeaTypeTest extends \TYPO3\CMS\Core\Tests\UnitTestCase class TeaTypeTest extends \TYPO3\CMS\Core\Tests\UnitTestCase
{ {
/**
* @var bool
*/
protected $backupGlobals = false;
/** /**
* @var \OliverKlee\Tea\Domain\Model\TeaType * @var \OliverKlee\Tea\Domain\Model\TeaType
*/ */

View file

@ -21,6 +21,11 @@ namespace OliverKlee\Tea\Tests\Unit\Domain\Model;
*/ */
class TestimonialTest extends \TYPO3\CMS\Core\Tests\UnitTestCase class TestimonialTest extends \TYPO3\CMS\Core\Tests\UnitTestCase
{ {
/**
* @var bool
*/
protected $backupGlobals = false;
/** /**
* @var \OliverKlee\Tea\Domain\Model\Testimonial * @var \OliverKlee\Tea\Domain\Model\Testimonial
*/ */

View file

@ -25,6 +25,11 @@ use TYPO3\CMS\Extbase\Persistence\Repository;
*/ */
class TeaBeverageRepositoryTest extends \TYPO3\CMS\Core\Tests\UnitTestCase class TeaBeverageRepositoryTest extends \TYPO3\CMS\Core\Tests\UnitTestCase
{ {
/**
* @var bool
*/
protected $backupGlobals = false;
/** /**
* @var TeaBeverageRepository * @var TeaBeverageRepository
*/ */

View file

@ -25,6 +25,11 @@ use TYPO3\CMS\Extbase\Persistence\Repository;
*/ */
class TestimonialRepositoryTest extends \TYPO3\CMS\Core\Tests\UnitTestCase class TestimonialRepositoryTest extends \TYPO3\CMS\Core\Tests\UnitTestCase
{ {
/**
* @var bool
*/
protected $backupGlobals = false;
/** /**
* @var TestimonialRepository * @var TestimonialRepository
*/ */

View file

@ -27,13 +27,13 @@ $EM_CONF[$_EXTKEY] = [
'modify_tables' => '', 'modify_tables' => '',
'clearCacheOnLoad' => 0, 'clearCacheOnLoad' => 0,
'lockType' => '', 'lockType' => '',
'version' => '0.0.1', 'version' => '1.0.0',
'constraints' => [ 'constraints' => [
'depends' => [ 'depends' => [
'php' => '5.5.0-7.0.99', 'php' => '5.5.0-7.6.99',
'typo3' => '6.2.0-7.0.99', 'typo3' => '6.2.0-7.6.99',
'extbase' => '6.2.0-7.0.99', 'extbase' => '6.2.0-7.6.99',
'fluid' => '6.2.0-7.0.99', 'fluid' => '6.2.0-7.6.99',
'phpunit' => '4.0.0-5.9.99', 'phpunit' => '4.0.0-5.9.99',
], ],
'conflicts' => [ 'conflicts' => [