Skip to content
Snippets Groups Projects
Commit 6710dda0 authored by Jared Hancock's avatar Jared Hancock
Browse files

lint: Fix several test fixture failures

parent 440c1748
No related branches found
No related tags found
No related merge requests found
......@@ -74,7 +74,7 @@ class KbaseAjaxAPI extends AjaxController {
if (!($faq = FAQ::lookup($id)))
Http::response(404, 'No such faq article');
$form = new FaqAccessMgmtForm($_POST ?: $faq->getHashTable());
$form = new FaqAccessMgmtForm($_POST ?: $faq->getHashtable());
if ($_POST && $form->isValid()) {
$clean = $form->getClean();
......
......@@ -132,7 +132,7 @@ class SimpleMessage implements Message {
function getTags() {
$tags = array_merge(
array(Messages::getLevelTag($this->level)),
array(strtolower(Messages::getLevelName($this->level))),
$this->tags ?: array());
return implode(' ', $tags);
}
......@@ -232,7 +232,7 @@ class SessionMessageStorage extends BaseMessageStorage {
Signal::connect('session.close', function($null, $info) use ($self) {
// Whether or not the session data should be re-encoded to
// reflect changes made in this routine
$info['touched'] = $this->added_new || ($this->used && count($this->list));
$info['touched'] = $self->added_new || ($self->used && count($self->list));
$self->update();
});
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment