Index: trunk/phase3/tests/qunit/suites/resources/mediawiki/mediawiki.test.js |
— | — | @@ -190,8 +190,7 @@ |
191 | 191 | |
192 | 192 | equal( mw.loader.getState( 'test.implement' ), 'loaded', 'module state is "loaded" while implement() is executing javascript' ); |
193 | 193 | |
194 | | - $element = $( '<div class="mw-test-loaderimplement">Foo bar</div>' ); |
195 | | - $element.appendTo( 'body' ); |
| 194 | + $element = $( '<div class="mw-test-loaderimplement">Foo bar</div>' ).appendTo( '#qunit-fixture' ); |
196 | 195 | |
197 | 196 | // @broken: equal( $element.css( 'text-align' ),'center', 'CSS stylesheet was applied in time. ("text-align: center")' ); |
198 | 197 | |