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 01eb2e7 commit 89b6655
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 @@ -23,9 +23,9 @@
}
],
"require": {
"silverstripe/framework": "~3.1",
"silverstripe/framework": "~3.6",
"sunnysideup/ecommerce": "*",
"silverstripe/cms": "~3.1"
"silverstripe/cms": "~3.6"
},
"extra": {
"installer-name": "ecommerce_cloud_flare_geoip"
Expand Down
18 changes: 10 additions & 8 deletions tests/EcommerceCloudFlareGeoipTest.php
@@ -1,13 +1,15 @@
<?php
class EcommerceCloudFlareGeoipTest extends SapphireTest {

protected $usesDatabase = false;
class EcommerceCloudFlareGeoipTest 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 89b6655

Please sign in to comment.