Commit 26277d20 authored by tim.plunkett's avatar tim.plunkett
Browse files

Add use statement for stdClass.

parent e3b1e123
......@@ -7,6 +7,8 @@
namespace Drupal\views\Tests;
use stdClass;
/**
* Tests abstract handlers of views.
*/
......@@ -41,7 +43,7 @@ function testFilterInOperatorUi() {
* Tests views_break_phrase_string function.
*/
function test_views_break_phrase_string() {
$empty_stdclass = new \StdClass();
$empty_stdclass = new StdClass();
$empty_stdclass->operator = 'or';
$empty_stdclass->value = array();
......@@ -96,7 +98,7 @@ function test_views_break_phrase_string() {
* Tests views_break_phrase function.
*/
function test_views_break_phrase() {
$empty_stdclass = new \StdClass();
$empty_stdclass = new StdClass();
$empty_stdclass->operator = 'or';
$empty_stdclass->value = array();
......
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