DbStoreTest: pass an exception message
This commit is contained in:
parent
8f25dc3539
commit
9c7fb06904
|
@ -43,17 +43,17 @@ class FaultyDatabaseMock extends DatabaseMock
|
|||
{
|
||||
public function insert($table, $row)
|
||||
{
|
||||
throw new NotWritableError();
|
||||
throw new NotWritableError('Mocked insert');
|
||||
}
|
||||
|
||||
public function update($table, $columns, $where)
|
||||
{
|
||||
throw new NotWritableError();
|
||||
throw new NotWritableError('Mocked update');
|
||||
}
|
||||
|
||||
public function delete($table, $where)
|
||||
{
|
||||
throw new NotWritableError();
|
||||
throw new NotWritableError('Mocked delete');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue