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 aebd7b5 commit cff00a3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
4 changes: 2 additions & 2 deletions composer.json
Expand Up @@ -20,8 +20,8 @@
}
],
"require": {
"silverstripe/cms": "~3.1",
"silverstripe/framework": "~3.1"
"silverstripe/cms": "~3.6",
"silverstripe/framework": "~3.6"
},
"extra": {
"installer-name": "columns"
Expand Down
18 changes: 10 additions & 8 deletions tests/ColumnsTest.php
@@ -1,13 +1,15 @@
<?php
class ColumnsTest extends SapphireTest {

protected $usesDatabase = false;
class ColumnsTest 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 cff00a3

Please sign in to comment.