PMCORE-3878

This commit is contained in:
Paula Quispe
2022-08-03 12:17:12 -04:00
parent 6bd2537b23
commit 71c5ecc0c4
3 changed files with 36 additions and 0 deletions

View File

@@ -143,6 +143,18 @@ class DelegationTest extends TestCase
$this->assertCount(1, $table->threadOpen()->get());
}
/**
* This test scopeThreadIdOpen
*
* @covers \ProcessMaker\Model\Delegation::scopeThreadIdOpen()
* @test
*/
public function it_return_scope_thread_id_open()
{
$table = factory(Delegation::class)->states('foreign_keys')->create();
$this->assertCount(1, $table->threadIdOpen()->get());
}
/**
* This test scopeThreadPause
*