8 use MediaWikiCoversValidator;
15 $this->assertSame( 0, $ran );
17 $this->assertSame( 1, $ran );
23 $db->begin( __METHOD__ );
30 $db->rollback( __METHOD__ );
35 $this->assertSame( 0, $ran );
41 $db1->begin( __METHOD__ );
43 $db2->begin( __METHOD__ );
47 }, __METHOD__, [ $db1, $db2 ] );
50 $db1->rollback( __METHOD__ );
55 $db2->rollback( __METHOD__ );
58 $this->assertSame( 0, $ran );
64 $db1->begin( __METHOD__ );
66 $db2->begin( __METHOD__ );
70 }, __METHOD__, [ $db1, $db2 ] );
73 $db1->rollback( __METHOD__ );
74 $db2->rollback( __METHOD__ );
79 $this->assertSame( 0, $ran );