Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions shippable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ language: php
php:
# - 5.3
- 5.4
- 5.5
# - 5.5
# - 5.6

before_script:
Expand All @@ -15,7 +15,7 @@ script:
- phpunit --log-junit shippable/testresults/junit.xml --coverage-xml shippable/codecoverage tests/calculator_test.php

archive: true
build_image: shippable/minv2:beta
#build_image: shippable/minv2:beta

after_script:
- echo "test"
Expand Down
2 changes: 1 addition & 1 deletion tests/calculator_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public function testAdd(){
public function testSubtract(){
$calc = new Calculator();
$difference = $calc->subtract(5,2);
$this->assertEquals(3, $difference); //check if 5 - 2 is equal to 3
$this->assertEquals(2, $difference); //check if 5 - 2 is equal to 3
}

//test if the multiply() method in our calculator class
Expand Down