Skip to content

Commit e2803ba

Browse files
committed
test(form): avoid canonical class name
1 parent 4eaa35f commit e2803ba

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/3-unit/PluginFormcreatorForm.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
*/
3131
namespace tests\units;
3232
use Config;
33+
use DocumentType;
3334
use GlpiPlugin\Formcreator\Tests\CommonTestCase;
3435
use Group;
3536
use PluginFormcreatorFormAnswer;
@@ -763,7 +764,7 @@ function() use($testedClassName, $linker, $input) {
763764
* @return void
764765
*/
765766
public function _testCreateDocumentType() {
766-
$documentType = new \DocumentType();
767+
$documentType = new DocumentType();
767768
$documentType->deleteByCriteria([
768769
'ext' => 'json'
769770
]);
@@ -784,7 +785,7 @@ public function _testCreateDocumentType() {
784785
public function testEnableDocumentType() {
785786
$this->_testCreateDocumentType();
786787

787-
$documentType = new \DocumentType();
788+
$documentType = new DocumentType();
788789
$documentType->getFromDBByCrit([
789790
'ext' => 'json'
790791
]);

0 commit comments

Comments
 (0)