PMCORE-3985 PHP Unit, solve the issue in the Circle CI

This commit is contained in:
Roly Gutierrez
2022-09-14 12:08:21 -04:00
parent f7112d18e9
commit cc36bbe277
12 changed files with 39 additions and 41 deletions

View File

@@ -155,7 +155,7 @@ class DelegationTest extends TestCase
*/
public function it_return_scope_thread_id_open()
{
$table = factory(Delegation::class)->states('foreign_keys')->create();
$table = Delegation::factory()->foreign_keys()->create();
$this->assertCount(1, $table->threadIdOpen()->get());
}