Skip to content
Snippets Groups Projects
Commit 3747c9ff authored by n_herr03's avatar n_herr03
Browse files

fix phpunit test stdclass not in namespace

parent 1ae17069
No related branches found
No related tags found
No related merge requests found
...@@ -48,7 +48,7 @@ class persist_workflow_test extends \advanced_testcase { ...@@ -48,7 +48,7 @@ class persist_workflow_test extends \advanced_testcase {
*/ */
public function setUp() : void { public function setUp() : void {
$this->resetAfterTest(true); $this->resetAfterTest(true);
$record = new stdClass(); $record = new \stdClass();
$record->id = null; $record->id = null;
$record->title = 'Title'; $record->title = 'Title';
$this->workflow = workflow::from_record($record); $this->workflow = workflow::from_record($record);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment