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
1 parent
bc36c20
commit dda9aec
Showing
2 changed files
with
12 additions
and
10 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
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 |
---|---|---|
@@ -1,13 +1,15 @@ | ||
<?php | ||
class DataobjectsorterTest extends SapphireTest { | ||
|
||
protected $usesDatabase = false; | ||
class DataobjectsorterTest extends SapphireTest | ||
{ | ||
protected $usesDatabase = false; | ||
|
||
protected $requiredExtensions = array(); | ||
|
||
public function testMyMethod() { | ||
$this->assertEquals(1, 1); | ||
} | ||
protected $requiredExtensions = array(); | ||
|
||
public function TestDevBuild() | ||
{ | ||
$exitStatus = shell_exec('php framework/cli-script.php dev/build flush=all > dev/null; echo $?'); | ||
$exitStatus = intval(trim($exitStatus)); | ||
$this->assertEquals(0, $exitStatus); | ||
} | ||
} | ||
|