Posted by Chi on November 11, 2012 at 10:46am
3 followers
| Project: | Drupal core |
| Version: | 8.x-dev |
| Component: | block.module |
| Category: | bug report |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | needs review |
| Issue tags: | needs backport to D7 |
Issue Summary
Simpletest creates a complete Drupal installation and for each test runs in a completely new Drupal instance. Right?
Comments
#1
It's not about UnitTestBase tests.
#2
Manual local testing: from web interface, block module disabled.
Before patch:
Test the template_preprocess_block() function.0 passes, 19 fails, and 0 exceptions
The test did not complete due to a fatal error. Completion check BlockTemplateSuggestionsUnitTest.php 28 Drupal\block\Tests\BlockTemplateSuggestionsUnitTest->testBlockThemeHookSuggestions()
Call to undefined function Drupal\block\Tests\template_preprocess_block()
After patch, 3 passes, 0 fails, 0 exceptions, and everything is looking great.
#3
This should be able to use DrupalUnitTestBase now.
#4