-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?php | ||
namespace mult1mate\crontab_tests; | ||
|
||
use mult1mate\crontab\DbHelper; | ||
|
||
/** | ||
* @author mult1mate | ||
* Date: 07.02.16 | ||
* Time: 18:17 | ||
*/ | ||
class DbHelperTest extends \PHPUnit_Framework_TestCase | ||
{ | ||
public function testGetReportSql() | ||
{ | ||
$sql = DbHelper::getReportSql(); | ||
$this->assertTrue(is_string($sql)); | ||
} | ||
|
||
public function testTableTasksSql() | ||
{ | ||
$sql = DbHelper::tableTasksSql(); | ||
$this->assertTrue(is_string($sql)); | ||
} | ||
|
||
public function testTableTaskRunsSql() | ||
{ | ||
$sql = DbHelper::tableTaskRunsSql(); | ||
$this->assertTrue(is_string($sql)); | ||
} | ||
} |