Skip to content

Commit

Permalink
PATCH: module clean-up
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnysideupdevs committed Mar 19, 2018
1 parent 63cfe43 commit 886ab62
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
} }
], ],
"require": { "require": {
"silverstripe/framework": "~3.1", "silverstripe/framework": "~3.6",
"silverstripe/cms": "~3.1" "silverstripe/cms": "~3.6"
}, },
"extra": { "extra": {
"installer-name": "sitemappage" "installer-name": "sitemappage"
Expand Down
18 changes: 10 additions & 8 deletions tests/SitemappageTest.php
Original file line number Original file line Diff line number Diff line change
@@ -1,13 +1,15 @@
<?php <?php
class SitemappageTest extends SapphireTest {


protected $usesDatabase = false; class SitemappageTest extends SapphireTest
{
protected $usesDatabase = false;


protected $requiredExtensions = array(); protected $requiredExtensions = array();

public function testMyMethod() {
$this->assertEquals(1, 1);
}


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

0 comments on commit 886ab62

Please sign in to comment.