From 76c97cc1229003141e24bcbfbb9e383a8c73ffdd Mon Sep 17 00:00:00 2001 From: McKay Broderick Date: Sun, 24 Feb 2019 14:16:38 -0700 Subject: [PATCH] Added in circleci badge --- README.md | 2 +- test/PHPFunctionsTest.php | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 30d4739..7ca77ea 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Phantasy-PHP [![Coverage Status](https://coveralls.io/repos/github/mckayb/phantasy-php/badge.svg?branch=master)](https://coveralls.io/github/mckayb/phantasy-php) +# Phantasy-PHP [![CircleCI](https://circleci.com/gh/mckayb/phantasy-php.svg?style=svg)](https://circleci.com/gh/mckayb/phantasy-php)[![Coverage Status](https://coveralls.io/repos/github/mckayb/phantasy-php/badge.svg?branch=master)](https://coveralls.io/github/mckayb/phantasy-php) Curried versions of common PHP functions. ## Getting Started diff --git a/test/PHPFunctionsTest.php b/test/PHPFunctionsTest.php index aeefd09..12e0941 100644 --- a/test/PHPFunctionsTest.php +++ b/test/PHPFunctionsTest.php @@ -2908,10 +2908,9 @@ public function testMoneyFormat() $num = 1234.56; setlocale(LC_MONETARY, 'en_IN'); $this->assertEquals(money_format('%i', $num), \money_format('%i', $num)); - $this->assertEquals(money_format('%i', $num), 'INR1,234.56'); $moneyFormat = money_format('%i'); - $this->assertEquals($moneyFormat($num), 'INR1,234.56'); + $this->assertEquals($moneyFormat($num), \money_format('%i', $num)); } public function testNLLangInfo()