Unverified Commit 8761944d authored by alesr's avatar alesr Committed by GitHub

Merge pull request #428 from joejoseph00/7.x-2.x

7.x 2.x og fix head tests for various versions of php
parents faea5e65 d3bc7c8d
[![Build Status](https://travis-ci.org/Gizra/og.svg?branch=7.x-2.x)](https://travis-ci.org/Gizra/og)
[![Build Status](https://travis-ci.org/Gizra/og.svg?branch=7.x-2.x)](https://travis-ci.org/Gizra/og/branches)
DESCRIPTION
--------------------------
......
......@@ -2166,7 +2166,9 @@ class OgNonMembersPublishingContentTestCase extends DrupalWebTestCase {
$this->assertTrue(!empty($result['node']), 'The node was added to the group.');
$nid = reset(array_keys($result['node']));
$result_node = $result['node'];
$node_array_keys = array_keys($result_node);
$nid = reset($node_array_keys);
$this->drupalLogin($this->adminUser);
......
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