PMCORE-3878
This commit is contained in:
@@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user