Skip to content

Commit

Permalink
Merge pull request #2 in SST/vwo-php-sdk from no_campaign_state_fix t…
Browse files Browse the repository at this point in the history
…o master

* commit '94455eca32411feea30be86bb6384fee4019dd2b':
  test_case_fix
  • Loading branch information
Varun Malhotra committed Nov 6, 2019
2 parents ef0d97d + 94455ec commit 9ca9d4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Utils/Constants.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Constants
/**
* base url for api hit
*/
const SDK_VERSION = '1.0.5';
const SDK_VERSION = '1.0.6';
/**
* base url for api hit
*/
Expand Down
2 changes: 1 addition & 1 deletion tests/VWOTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ public function testTrack()
try{
$userId=$users[$i];
$goalname=$config['settingsFile']['campaigns'][0]['goals'][0]['identifier'];
$result=$this->vwotest->track($campaignName,$userId,$goalname);
$result=$this->vwotest->track($campaignName,$userId,$goalname,'testRevenue');
$expected=ucfirst($this->variationResults[$campaignName][$userId]);
if($expected == null){
$expected=false;
Expand Down

0 comments on commit 9ca9d4d

Please sign in to comment.