You are here

public function ClassifiedTestTestBasicTest::test1412840 in Classified Ads 7.3

Bug 1412840: invalid taxonomy term paths were not handled correctly.

File

tests/classified_test_basic.test, line 374

Class

ClassifiedTestTestBasicTest
Basic test for known bugs in previous versions.

Code

public function test1412840() {
  $this->group = __FUNCTION__;

  // This get threw an error per #1412840.
  $this
    ->drupalGet('classified-test/invalid-term-path');
  $this
    ->assertNoText('Trying to get property of non-object', t('Invalid taxonomy URL did not cause a syntax notice'), $this->group);
}