Commit 3da1bdf6 authored by webchick's avatar webchick

Issue #2263329 by dawehner: CommentDefaultFormatterCacheTagsTest just works...

Issue #2263329 by dawehner: CommentDefaultFormatterCacheTagsTest just works because nothing uses AccountProxyInterface in HEAD.
parent e3391522
......@@ -43,7 +43,8 @@ public function setUp() {
// Set the current user to one that can access comments. Specifically, this
// user does not have access to the 'administer comments' permission, to
// ensure only published comments are visible to the end user.
$this->container->set('current_user', $this->createUser(array(), array('access comments')));
$current_user = $this->container->get('current_user');
$current_user->setAccount($this->createUser(array(), array('access comments')));
// Install tables and config needed to render comments.
$this->installSchema('comment', array('comment', 'comment_entity_statistics'));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment