Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
esvit committed Dec 9, 2013
1 parent a54c4b4 commit 059feb5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
<var name="db_name" value="bazalt_cms" />
<var name="db_port" value="3306"/>

<const name="TESTING_STAGE" value="1"/>
<env name="APPLICATION_ENV" value="testing"/>
</php>

Expand Down
3 changes: 0 additions & 3 deletions src/Bazalt/Rest/Resource.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ class Resource extends \Tonic\Resource
{
public static function params()
{
if (TESTING_STAGE) {
return $_GET;
}
$query = $_SERVER['QUERY_STRING'];
$vars = array();
$second = array();
Expand Down

0 comments on commit 059feb5

Please sign in to comment.