Translations:Manual:PHP unit testing/Writing unit tests/67/en

That tells MediaWikiTestCase to setup a $1 database connection for you to use in $2.