Bug #34962
Unit tests are broken
| Status: | Resolved | Start date: | 2012-03-17 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assignee: | Tobias Liebig | % Done: | 100% |
|
| Category: | - | |||
| Target version: | - | |||
| Has patch: | No | Tags: | ||
| Votes: | 0 |
Description
In 2a7bea292be820d49efc7553d29bac5631f30b33 (https://review.typo3.org/#/c/9701/) the unit tests broke because the mocked ClassInfoCache does not return the previously set class info, but NULL.
This causes a PHP Fatal Error:
PHP Fatal error: Call to a member function getIsSingleton() on a non-object in /Users/tobias/Projekte/typo3/extbase/Classes/Object/Container/Container.php on line 161
Related issues
| related to Extbase MVC Framework - Bug #27438: Object container uses invalid cache identifier for namesp... | Resolved | 2011-06-14 |
Associated revisions
[BUGFIX] Fix unit tests
In 2a7bea292be820d49efc7553d29bac5631f30b33 the unit tests broke
because the mocked ClassInfoCache does not return the previously
set class info.
Change-Id: I625335b43eb5b3d6500cd42fde6a1d9a40997aff
Resolves: #34962
Releases: 4.7, 4.8
[BUGFIX] Fix unit tests
In 2a7bea292be820d49efc7553d29bac5631f30b33 the unit tests broke
because the mocked ClassInfoCache does not return the previously
set class info.
Change-Id: I625335b43eb5b3d6500cd42fde6a1d9a40997aff
Resolves: #34962
Releases: 4.7, 4.8
History
Updated by Gerrit Code Review about 1 year ago
- Status changed from New to Under Review
Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9715
Updated by Gerrit Code Review about 1 year ago
Patch set 4 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9715
Updated by Gerrit Code Review about 1 year ago
Patch set 5 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9715
Updated by Gerrit Code Review about 1 year ago
Patch set 1 for branch extbase_4-7 has been pushed to the review server.
It is available at http://review.typo3.org/9720
Updated by Tobias Liebig about 1 year ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 7f7886e6597593865ed8420ea8ace21314d4d63c.