Skip to content

Commit

Permalink
Try to fix travis unit test for PHP 5.6
Browse files Browse the repository at this point in the history
Memcache error message. It not the same between my server and travis...
  • Loading branch information
bulton-fr committed May 10, 2017
1 parent 92a9660 commit ac498f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/src/class/memcache/Memcache.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public function testConstructorWithoutServer()
})
->error()
->withType(E_WARNING)
->withMessage('MemcachePool::getextendedstats(): No servers added to memcache connection')
->withPattern('/Memcache(Pool)?::getextendedstats\(\): No servers added to memcache connection/')
->exists()
->string($exceptionMsg)
->isEqualTo('No memcached server connected.');
Expand Down

0 comments on commit ac498f7

Please sign in to comment.