rdbms: make resolveDomainID() use more consistent in LoadBalancer
[lhc/web/wiklou.git] / tests / phpunit / includes / db / LoadBalancerTest.php
index 4291bcc..7fc070c 100644 (file)
@@ -336,8 +336,7 @@ class LoadBalancerTest extends MediaWikiTestCase {
                                $this->fail( "No exception thrown." );
                        } catch ( DBUnexpectedError $e ) {
                                $this->assertEquals(
-                                       'Wikimedia\Rdbms\LoadBalancer::openConnection: ' .
-                                       'CONN_TRX_AUTOCOMMIT handle has a transaction.',
+                                       'Handle requested with CONN_TRX_AUTOCOMMIT yet it has a transaction',
                                        $e->getMessage()
                                );
                        }