Bug #79758

Redis tests fail if class Redis is not availiable

Added by Nicole Cordes over 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
Start date:
2017-02-11
Due date:
% Done:

100%

TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Stabilization Sprint

Description

Currently on my windows System the tests for \TYPO3\CMS\Core\Tests\Unit\Session\Backend\RedisSessionBackendTest fail because the class \Redis is not available. Either we have to raise needed PHP modules or the tests should be skipped if the class is not available.

Associated revisions

Revision 13756198 (diff)
Added by Nicole Cordes over 3 years ago

[BUGFIX] Skip failing unit tests if preconditions not available

The unit tests for RedisSessionBackendTest rely on a class \Redis
which might not be available on all systems. Therefore the tests
should be skipped to not fail.

Resolves: #79758
Releases: master
Change-Id: Ie14911e7ba90eaffd32585c1c18d642996bbf74c
Reviewed-on: https://review.typo3.org/51636
Tested-by: TYPO3com <>
Reviewed-by: Christian Kuhn <>
Tested-by: Christian Kuhn <>
Reviewed-by: Andreas Fernandez <>
Tested-by: Andreas Fernandez <>

History

#1 Updated by Gerrit Code Review over 3 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51636

#2 Updated by Nicole Cordes over 3 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#3 Updated by Riccardo De Contardi over 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF