22 'create' => [
'MediaWikiTestCaseTestTable',
'imagelinks' ],
23 'drop' => [
'oldimage' ],
24 'alter' => [
'pagelinks' ],
25 'scripts' => [ __DIR__ .
'/MediaWikiTestCaseSchemaTest.sql' ]
32 $this->assertTrue( self::$hasRun );
37 $this->assertTrue( $this->db->tableExists(
'MediaWikiTestCaseTestTable' ) );
42 $this->assertFalse( $this->db->tableExists(
'oldimage' ) );
47 $this->assertTrue( $this->db->tableExists(
'imagelinks' ) );
48 $this->assertTrue( $this->db->fieldExists(
'imagelinks',
'il_frobnitz' ) );
53 $this->assertTrue( $this->db->tableExists(
'pagelinks' ) );
54 $this->assertTrue( $this->db->fieldExists(
'pagelinks',
'pl_frobnitz' ) );