Fixing tests, round two
This commit is contained in:
parent
1fffac8b8c
commit
4c54ec677c
@ -160,6 +160,8 @@ class CreateTicketTest extends TestCase {
|
|||||||
$status->id = 1;
|
$status->id = 1;
|
||||||
$this->statusGateway->method('getStatusForDefaultAction')
|
$this->statusGateway->method('getStatusForDefaultAction')
|
||||||
->willReturn($status);
|
->willReturn($status);
|
||||||
|
$this->categoryGateway->method('getAllCategories')
|
||||||
|
->willReturn(array());
|
||||||
}
|
}
|
||||||
|
|
||||||
function testItSavesTheTicketToTheDatabase() {
|
function testItSavesTheTicketToTheDatabase() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user