Skip to content
Permalink
Browse files

PATCH: module clean-up

  • Loading branch information...
sunnysideupdevs committed Mar 19, 2018
1 parent 63cfe43 commit 886ab6237e834134dfa0c8feafa984807beaebc1
Showing with 12 additions and 10 deletions.
  1. +2 −2 composer.json
  2. +10 −8 tests/SitemappageTest.php
@@ -21,8 +21,8 @@
}
],
"require": {
"silverstripe/framework": "~3.1",
"silverstripe/cms": "~3.1"
"silverstripe/framework": "~3.6",
"silverstripe/cms": "~3.6"
},
"extra": {
"installer-name": "sitemappage"
@@ -1,13 +1,15 @@
<?php
class SitemappageTest extends SapphireTest {
protected $usesDatabase = false;
class SitemappageTest 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);
}
}

0 comments on commit 886ab62

Please sign in to comment.
You can’t perform that action at this time.