Skip to content

Commit

Permalink
updating travis and tests for view window
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinkhill committed Jan 4, 2016
2 parents 68de602 + 734d955 commit 4f85b4e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ cache:
- node_modules

before_install:
- nvm install node
- nvm use node
- nvm install 0.12
- nvm use 0.12
- npm config set spin false

install:
Expand Down
4 changes: 2 additions & 2 deletions tests/Configs/HorizontalAxisTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ public function testConstructorValuesAssignment()
$this->assertTrue(is_array($va->textStyle));
$this->assertEquals('Taco Graph', $va->title);
$this->assertTrue(is_array($va->titleTextStyle));
$this->assertEquals(100, $va->viewWindow['viewWindowMin']);
$this->assertEquals(400, $va->viewWindow['viewWindowMax']);
$this->assertEquals(100, $va->viewWindow['min']);
$this->assertEquals(400, $va->viewWindow['max']);
$this->assertEquals('explicit', $va->viewWindowMode);
}

Expand Down
8 changes: 4 additions & 4 deletions tests/Configs/VerticalAxisTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ public function testConstructorValuesAssignment()
$this->assertTrue(is_array($va->textStyle));
$this->assertEquals('Taco Graph', $va->title);
$this->assertTrue(is_array($va->titleTextStyle));
$this->assertEquals(100, $va->viewWindow['viewWindowMin']);
$this->assertEquals(400, $va->viewWindow['viewWindowMax']);
$this->assertEquals(100, $va->viewWindow['min']);
$this->assertEquals(400, $va->viewWindow['max']);
$this->assertEquals('explicit', $va->viewWindowMode);
}

Expand Down Expand Up @@ -358,8 +358,8 @@ public function testViewWindowWithValidValues()
'max' => 100
));

$this->assertEquals(10, $this->va->viewWindow['viewWindowMin']);
$this->assertEquals(100, $this->va->viewWindow['viewWindowMax']);
$this->assertEquals(10, $this->va->viewWindow['min']);
$this->assertEquals(100, $this->va->viewWindow['max']);
}

/**
Expand Down

0 comments on commit 4f85b4e

Please sign in to comment.