Skip to content

Commit

Permalink
Remove useless dataprovider
Browse files Browse the repository at this point in the history
  • Loading branch information
Lainow committed Aug 6, 2024
1 parent 9f3c04c commit 7f6d94f
Showing 1 changed file with 0 additions and 61 deletions.
61 changes: 0 additions & 61 deletions tests/units/TaskMessageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,67 +48,6 @@ public function testPluginReactivated()
$plugins->getFromDBbyDir('escalade');
$this->assertTrue(Plugin::isPluginActive('escalade'));
}
protected function dataTestEscalationTaskGroup(): array
{
return [
[
'expected' => [
'group_name' => null,
'ticket_id' => $ticket->getID(),
'group_id' => null,
],
'inputs' => [
'id' => $ticket->getID(),
'name' => 'Escalation Test 1',
'update' => true,
],
],
[
'expected' => [
'group_name' => $group_test->getName(),
'ticket_id' => $ticket->getID(),
'group_id' => $group_test->getID(),
],
'inputs' => [
'id' => $ticket->getID(),
'name' => 'Escalation Test 2',
'_actors' => [
'assign' => [
[
'items_id' => $group_test->getID(),
'itemtype' => 'Group'
],
],
],
'update' => true,
],
],
[
'expected' => [
'group_name' => $group_test_2->getName(),
'ticket_id' => $ticket->getID(),
'group_id' => $group_test_2->getID(),
],
'inputs' => [
'id' => $ticket->getID(),
'name' => 'Escalation Test 3',
'_actors' => [
'assign' => [
[
'items_id' => $group_test->getID(),
'itemtype' => 'Group'
],
[
'items_id' => $group_test_2->getID(),
'itemtype' => 'Group'
],
],
],
'update' => true,
],
],
];
}

public function testGroupEscalation()
{
Expand Down

0 comments on commit 7f6d94f

Please sign in to comment.