[ticket/634] Add more tests

B3P-634
This commit is contained in:
Marc Alexander
2015-06-22 21:18:32 +02:00
parent 98aee57309
commit 2b65156d47
3 changed files with 83 additions and 13 deletions

View File

@@ -166,6 +166,7 @@ class phpbb_unit_modules_welcome_test extends \board3\portal\tests\testframework
$this->request->overwrite('submit', true, \phpbb\request\request_interface::POST);
$this->request->overwrite('welcome_message', '');
$this->setExpectedTriggerError(E_USER_WARNING);
self::$form_key_valid = true;
$this->welcome->update_welcome('foobar', 5);
}
}