mirror of
https://github.com/predis/predis.git
synced 2026-10-27 06:07:22 +00:00
Remove Predis\Network\IConnectionSingle::setProtocolOption() for now.
This commit is contained in:
@@ -450,9 +450,8 @@ class PredisClientFeaturesTestSuite extends PHPUnit_Framework_TestCase {
|
||||
}
|
||||
|
||||
function testCommandPipeline_ServerExceptionInCallableBlock() {
|
||||
$client = RC::getConnection();
|
||||
$client = RC::createConnection(array('throw_errors' => false));
|
||||
$client->flushdb();
|
||||
$client->getConnection()->setProtocolOption('throw_errors', false);
|
||||
|
||||
$replies = $client->pipeline(function($pipe) {
|
||||
$pipe->set('foo', 'bar');
|
||||
@@ -572,9 +571,8 @@ class PredisClientFeaturesTestSuite extends PHPUnit_Framework_TestCase {
|
||||
}
|
||||
|
||||
function testMultiExecContext_ServerExceptionInCallableBlock() {
|
||||
$client = RC::getConnection();
|
||||
$client = RC::createConnection(array('throw_errors' => false));
|
||||
$client->flushdb();
|
||||
$client->getConnection()->setProtocolOption('throw_errors', false);
|
||||
|
||||
$replies = $client->multiExec(function($multi) {
|
||||
$multi->set('foo', 'bar');
|
||||
|
||||
Reference in New Issue
Block a user