diff --git a/shippable.yml b/shippable.yml index 9ac7b50..9a80719 100644 --- a/shippable.yml +++ b/shippable.yml @@ -22,6 +22,7 @@ install: true before_archive: - ls - mv calculator.php shippable/src + after_archive: - echo $SHIPPABLE_ARTIFACTS_URL - echo $ARTIFACTS_UPLOAD_SUCCESSFUL @@ -34,3 +35,5 @@ notifications: - vidya@shippable.com on_success: always on_failure: always +#test +#test2 diff --git a/tests/calculator_test.php b/tests/calculator_test.php index fdcd534..73cbbf1 100644 --- a/tests/calculator_test.php +++ b/tests/calculator_test.php @@ -8,7 +8,7 @@ class CalculatorTest extends PHPUnit_Framework_TestCase{ public function testAdd(){ $calc = new Calculator(); $sum = $calc->add(array(2,3,4,5)); - $this->assertEquals(14, $sum); //check if 2+3+4+5 is equal to 14 + $this->assertEquals(15, $sum); //check if 2+3+4+5 is equal to 14 } //test if the subtract() method in our calculator class