Cleanup page creation in RevisionIntegrationTest
authoraddshore <addshorewiki@gmail.com>
Fri, 13 Oct 2017 15:39:24 +0000 (16:39 +0100)
committerAddshore <addshorewiki@gmail.com>
Mon, 16 Oct 2017 14:34:31 +0000 (14:34 +0000)
commitc31c373043f06c178e0dcb95990394d14d80ba25
treee2d43d712b8aff579f686d17516429bea29ae393
parent9fe46fdd32aae14313ddc4b371cc1a31342ba843
Cleanup page creation in RevisionIntegrationTest

Use the page that is already created by MediaWikiTestCase
to save time in tests.
There is no need to create a second page or a page per test
and have the overhead of the extra db calls.

Change-Id: I6c88edac09b9912a6e8b0673f2229a8d0819bf81
tests/phpunit/includes/RevisionIntegrationTest.php