From 138c17b04e578ba075ece34bff2558154fae2f8d Mon Sep 17 00:00:00 2001 From: Leif Ferreira Date: Sun, 13 Jul 2014 04:15:31 +0200 Subject: [PATCH] Set new name of whatsprot in tests folder --- src/Whatsprot.class.php | 2 +- tests/TestWhatsProt.php | 2 +- tests/whatsapp.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Whatsprot.class.php b/src/Whatsprot.class.php index ddb2c16a..b5726b11 100644 --- a/src/Whatsprot.class.php +++ b/src/Whatsprot.class.php @@ -1562,7 +1562,7 @@ protected function debugPrint($debugMsg) */ protected function dissectPhone() { - if (($handle = fopen(dirname(__FILE__).'/countries.csv', 'rb')) !== false) { + if (($handle = fopen(dirname(__FILE__).'/assets/countries.csv', 'rb')) !== false) { while (($data = fgetcsv($handle, 1000)) !== false) { if (strpos($this->phoneNumber, $data[1]) === 0) { // Return the first appearance. diff --git a/tests/TestWhatsProt.php b/tests/TestWhatsProt.php index 086105c9..9fd040cb 100644 --- a/tests/TestWhatsProt.php +++ b/tests/TestWhatsProt.php @@ -1,5 +1,5 @@