You are here

public function ClassifiedNotificationsTest::test1491880 in Classified Ads 6.3

Issue 1491880.

Incorrect token use.

File

tests/classified_notifications.test, line 155

Class

ClassifiedNotificationsTest

Code

public function test1491880() {
  $this
    ->createUsers(array(
    'creator',
  ));
  $key = $this
    ->randomName(8);
  $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);
  }
}