PMCORE-3880 PhpUnit: Error: Call to undefined function factory
This commit is contained in:
@@ -23,7 +23,7 @@ class PMFGetGroupNameTest extends TestCase
|
||||
public function it_get_group_name()
|
||||
{
|
||||
// Create group
|
||||
$group = factory(Groupwf::class)->create();
|
||||
$group = Groupwf::factory()->create();
|
||||
DB::commit();
|
||||
$result = PMFGetGroupName($group->GRP_TITLE, 'en');
|
||||
$this->assertFalse($result);
|
||||
|
||||
Reference in New Issue
Block a user