Fix 'Could not save notification' exception in PHPUnit tests.

Signed-off-by: Dhananjay Nakrani <dhananjaynakrani@gmail.com>