From 4a676a8c907203e0775f967450d707558dc2813a Mon Sep 17 00:00:00 2001 From: Vidya Raghavan Date: Wed, 18 Feb 2015 16:38:41 +0530 Subject: [PATCH 1/3] Update calculator_test.php --- tests/calculator_test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From 13b5033da77769855d706b35cfbf15195c91ac10 Mon Sep 17 00:00:00 2001 From: Vidya Raghavan Date: Wed, 18 Feb 2015 16:42:58 +0530 Subject: [PATCH 2/3] Update shippable.yml --- shippable.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shippable.yml b/shippable.yml index 9ac7b50..2dfd8f7 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,4 @@ notifications: - vidya@shippable.com on_success: always on_failure: always +#test From 75946239734f2a7aa25398c9ce4dcdc97e7f25d6 Mon Sep 17 00:00:00 2001 From: Vidya Raghavan Date: Wed, 18 Feb 2015 16:47:39 +0530 Subject: [PATCH 3/3] Update shippable.yml --- shippable.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/shippable.yml b/shippable.yml index 2dfd8f7..9a80719 100644 --- a/shippable.yml +++ b/shippable.yml @@ -36,3 +36,4 @@ notifications: on_success: always on_failure: always #test +#test2