com phpruntests: clean up temporary file: tests/testcase/sections/configurationsections/rtPostSectionTest.php

From: Date: Wed, 09 May 2012 16:54:16 +0000
Subject: com phpruntests: clean up temporary file: tests/testcase/sections/configurationsections/rtPostSectionTest.php
Groups: php.qa 
Request: Send a blank email to php-qa+get-66285@lists.php.net to get a copy of this message
Commit: 772692d8bc3eb860b12bc5c1a3df1dec5f26e630 Author: Zoe Slattery <zoe@php.net> Wed, 9 May 2012 16:54:16 +0000 Parents: bfd08eae80f81bcd32b9c448179d535939b5698f Branches: master Link: http://git.php.net/?p=phpruntests.git;a=commitdiff;h=772692d8bc3eb860b12bc5c1a3df1dec5f26e630 Log: clean up temporary file Changed paths: M tests/testcase/sections/configurationsections/rtPostSectionTest.php Diff: diff --git a/tests/testcase/sections/configurationsections/rtPostSectionTest.php b/tests/testcase/sections/configurationsections/rtPostSectionTest.php index 5efa2a8..93a88d7 100644 --- a/tests/testcase/sections/configurationsections/rtPostSectionTest.php +++ b/tests/testcase/sections/configurationsections/rtPostSectionTest.php @@ -13,6 +13,9 @@ class rtPostSectionTest extends PHPUnit_Framework_TestCase $fileName = $postSection->getPostFileName(); $string = file_get_contents($fileName); + //clean up + unlink($fileName); + $this->assertEquals('hello=World&goodbye=MrChips', $string); } }

« previous php.qa (#66285) next »