Skip to content

Commit

Permalink
Fix cluster read-only test
Browse files Browse the repository at this point in the history
  • Loading branch information
im-denisenko committed Sep 17, 2015
1 parent b46ae98 commit 8088ded
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/lib/Elastica/Test/Cluster/SettingsTest.php
Expand Up @@ -85,7 +85,7 @@ public function testSetReadOnly()
$this->fail('should throw read only exception');
} catch (ResponseException $e) {
$message = $e->getMessage();
$this->assertContains('ClusterBlockException', $message);
$this->assertContains('cluster_block_exception', $message);
$this->assertContains('cluster read-only', $message);
}

Expand All @@ -94,7 +94,7 @@ public function testSetReadOnly()
$this->fail('should throw read only exception');
} catch (ResponseException $e) {
$message = $e->getMessage();
$this->assertContains('ClusterBlockException', $message);
$this->assertContains('cluster_block_exception', $message);
$this->assertContains('cluster read-only', $message);
}

Expand Down

0 comments on commit 8088ded

Please sign in to comment.