PMCORE-3880 PhpUnit: Error: Call to undefined function factory

This commit is contained in:
Roly Gutierrez
2022-07-21 00:04:21 -04:00
parent 99fa155266
commit 01833eb210
295 changed files with 6494 additions and 4762 deletions

View File

@@ -24,8 +24,8 @@ class PMFGetCaseNotesTest extends TestCase
public function it_get_case_notes()
{
// Create notes
$user = factory(User::class)->create();
$table = factory(AppNotes::class)->create([
$user = User::factory()->create();
$table = AppNotes::factory()->create([
'USR_UID' => $user->USR_UID
]);
// Force commit for propel