Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Set a 404 page and check that it appears. Assert that blocks and tabs do not appear.
Comment | File | Size | Author |
---|---|---|---|
#1 | 296305-404-tests.patch | 2.55 KB | Damien Tournoud |
Comments
Comment #1
Damien Tournoud CreditAttribution: Damien Tournoud commentedTest written with recidive (http://drupal.org/user/12564).
Comment #2
cwgordon7 CreditAttribution: cwgordon7 commented$this->assertText() is used in a number of places where $this->assertTitle() would be more appropriate. Otherwise, looks very good.
Comment #3
cwgordon7 CreditAttribution: cwgordon7 commentedAfter discussion with DamZ, assertText() works, since assertTitle() only tests the head title. All passes, so rtbc. :)
Comment #4
Dries CreditAttribution: Dries commentedCommitted to CVS HEAD. Thanks!
Comment #5
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.