as of simpletest 1.0.1:

No method assertError(), assertNoErrors(), swallowErrors()
----------------------------------------------------------
These have been deprecated in 1.0.1beta in favour of
expectError() and expectException(). assertNoErrors() is
redundant if you use expectError() as failures are now reported
immediately.

also i get this when calling $this->assertError() from DrupalTestCase:
PHP Fatal error: Call to undefined method SimpleErrorQueue::instance() in C:\we
b\daniel\linkozavr\sites\all\modules\simpletest\drupal_test_case.php on line 657

Comments

_Daniel’s picture

Status: Active » Closed (duplicate)