mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°7726 - Fatal error if a newsroom is sent without any message
Remove test for valid asynchronous ActionNewsroom
This commit is contained in:
@@ -88,7 +88,6 @@ class ActionNewsroomTest extends ItopDataTestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* @dataProvider ActionNewsroomProvider
|
||||
* @throws CoreException
|
||||
* @throws MissingQueryArgument
|
||||
* @throws CoreUnexpectedValue
|
||||
@@ -97,9 +96,9 @@ class ActionNewsroomTest extends ItopDataTestCase
|
||||
* @throws MySQLHasGoneAwayException
|
||||
* @throws Exception
|
||||
*/
|
||||
public function testActionNewsroomRecordsEvent(bool $bIsAsynchronous)
|
||||
public function testActionNewsroomRecordsEvent()
|
||||
{
|
||||
$iActionNewsroomId = $this->GivenActionNewsroomInDB($bIsAsynchronous, 'Body of the notification');
|
||||
$iActionNewsroomId = $this->GivenActionNewsroomInDB(false, 'Body of the notification');
|
||||
|
||||
$iServiceId = $this->GivenService('Test service');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user