Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Berdir’s picture

Status: Active » Needs review
FileSize
849 bytes

This at least fails with an actual, readable error message instead of a fatal error.

dawehner’s picture

FileSize
2.94 KB

While writing a test I realized that there is another problem.

Status: Needs review » Needs work

The last submitted patch, drupal-1986528-2.patch, failed testing.

Berdir’s picture

PHP Fatal error: Call to undefined function Drupal\simpletest\Tests\debug()

:)

ParisLiakos’s picture

just hit this
#1 looks like a great improvement over this:)

dawehner’s picture

It feels like this is not really possible to test properly. Maybe #1 itself is good enough.

tsphethean’s picture

Status: Needs work » Needs review

I just hit this too and the patch in #1 got me from fatal exception to useful error message - I'd vote for getting #1 in if possible.

vlad.leo’s picture

Issue tags: -PHPUnit

#2: drupal-1986528-2.patch queued for re-testing.

Status: Needs review » Needs work

The last submitted patch, drupal-1986528-2.patch, failed testing.

Berdir’s picture

Status: Needs work » Needs review
Issue tags: +PHPUnit
dawehner’s picture

Status: Needs review » Reviewed & tested by the community

Let's just get #1 in.

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed 8cb7ab8 and pushed to 8.x. Thanks!

Automatically closed -- issue fixed for 2 weeks with no activity.