Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add return value for getDateFormat in JDatabaseMock.

  • Loading branch information...
commit 1fb13113dbfde7df82ca745023377ae596255be1 1 parent 881502e
@eddieajau authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  tests/suite/joomla/database/JDatabaseMock.php
View
3  tests/suite/joomla/database/JDatabaseMock.php
@@ -108,7 +108,8 @@ public static function create($test)
// Mock selected methods.
$test->assignMockReturns(
$mockObject, array(
- 'getNullDate' => '0000-00-00 00:00:00'
+ 'getNullDate' => '0000-00-00 00:00:00',
+ 'getDateFormat' => 'Y-m-d H:i:s'
)
);
Please sign in to comment.
Something went wrong with that request. Please try again.