DbStoreTest: pass an exception message

This commit is contained in:
Thomas Gelf 2017-01-04 18:12:56 +01:00
parent 8f25dc3539
commit 9c7fb06904
1 changed files with 3 additions and 3 deletions

View File

@ -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');
}
}