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 5acb432 commit e17377e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
"require": {
"friendsofphp/php-cs-fixer": "^1.12",
"symfony/yaml": "^3.1",
"silverstripe/framework": "~3.1",
"silverstripe/cms": "~3.1"
"silverstripe/framework": "~3.6",
"silverstripe/cms": "~3.6"
},
"extra": {
"installer-name": "modulechecks"
Expand Down
7 changes: 5 additions & 2 deletions tests/ModulechecksTest.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
<?php

class ModulechecksTest extends SapphireTest
{
protected $usesDatabase = false;

protected $requiredExtensions = array();

public function testMyMethod()
public function TestDevBuild()
{
$this->assertEquals(1, 1);
$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 e17377e

Please sign in to comment.