jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/399610 )

Change subject: Follow-up e213462f7c61c: fix typo ("constriant" -> "constraint")
......................................................................


Follow-up e213462f7c61c: fix typo ("constriant" -> "constraint")

Change-Id: I6e1fd74e387af5a913301bf296fe9f6da0dd1837
---
M tests/phpunit/includes/db/LoadBalancerTest.php
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  jenkins-bot: Verified
  Thiemo Kreuz (WMDE): Looks good to me, approved



diff --git a/tests/phpunit/includes/db/LoadBalancerTest.php 
b/tests/phpunit/includes/db/LoadBalancerTest.php
index a7b0975..a8e7f89 100644
--- a/tests/phpunit/includes/db/LoadBalancerTest.php
+++ b/tests/phpunit/includes/db/LoadBalancerTest.php
@@ -144,9 +144,9 @@
                        $this->fail( 'Write operation should have failed!' );
                } catch ( DBError $ex ) {
                        // check that the exception message contains "Write 
operation"
-                       $constriant = new 
PHPUnit_Framework_Constraint_StringContains( 'Write operation' );
+                       $constraint = new 
PHPUnit_Framework_Constraint_StringContains( 'Write operation' );
 
-                       if ( !$constriant->evaluate( $ex->getMessage(), '', 
true ) ) {
+                       if ( !$constraint->evaluate( $ex->getMessage(), '', 
true ) ) {
                                // re-throw original error, to preserve stack 
trace
                                throw $ex;
                        }

-- 
To view, visit https://gerrit.wikimedia.org/r/399610
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I6e1fd74e387af5a913301bf296fe9f6da0dd1837
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Catrope <[email protected]>
Gerrit-Reviewer: Thiemo Kreuz (WMDE) <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to