filerepo: Use standard method for creating temp dir in unit test
authorTimo Tijhof <krinklemail@gmail.com>
Tue, 10 Feb 2015 07:55:43 +0000 (07:55 +0000)
committerKrinkle <krinklemail@gmail.com>
Wed, 11 Feb 2015 01:42:12 +0000 (01:42 +0000)
commit9bd8dc6e2dedebf4a6b3cc045ffec154c296cf25
treef39669697bc9d3bf687aa09cb57bacd70d7f6a91
parente9269a66d8f85ce3a06fec44cb36d5fe7b6d7fea
filerepo: Use standard method for creating temp dir in unit test

Previously, the unittests-thumb directory (and its hashed subdirectories,
and the .htaccess and index.html files) were being left behind.

While that may be a bug in the FileBackend class, the unit test
shouldn't rely on that for its teardown. If we want to assert that,
that can be a separate test.

Bug: T89085
Change-Id: Ided46b71ace82159864145b76d98bb10da5d0311
tests/phpunit/includes/filerepo/StoreBatchTest.php