You are here

public function ClassifiedTestNotificationsTest::test1491880 in Classified Ads 7.3

Issue 1491880.

Incorrect token use.

File

tests/classified_test_notifications.test, line 183

Class

ClassifiedTestNotificationsTest
Test cases for the Classified Ads notifications submodule.

Code

public function test1491880() {
  $this
    ->createUsers(array(
    'creator',
  ));
  $message = array();
  $params = array(
    'account' => $this->creatorUser,
  );
  foreach (_classified_get_notify_kinds() as $kind) {

    // This must not cause notices, as it does in 6.x-3.x-rc2.
    classified_notifications_mail($kind, $message, $params);
  }
}