PMCORE-3880 PhpUnit: Error: Call to undefined function factory
This commit is contained in:
@@ -48,7 +48,7 @@ class OutputDocumentTest extends TestCase
|
||||
public function it_should_generate_tcpdf()
|
||||
{
|
||||
// Create a register in the output document
|
||||
$output = factory(OutputDocumentModel::class)->create([
|
||||
$output = OutputDocumentModel::factory()->create([
|
||||
'OUT_DOC_TEMPLATE' => '<!DOCTYPE html
|
||||
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html>
|
||||
|
||||
Reference in New Issue
Block a user