From e2de214ea58a0a451cda98eb1718f6e3badc509b Mon Sep 17 00:00:00 2001 From: Francis Besset Date: Thu, 14 Aug 2014 11:22:20 +0200 Subject: [PATCH] [SoapClient] [Tests] Removed uploaded file --- .../SoapClient/Tests/ServerInterop/SwaServerInteropTest.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/BeSimple/SoapClient/Tests/ServerInterop/SwaServerInteropTest.php b/src/BeSimple/SoapClient/Tests/ServerInterop/SwaServerInteropTest.php index 90f7fa0..73dc2aa 100644 --- a/src/BeSimple/SoapClient/Tests/ServerInterop/SwaServerInteropTest.php +++ b/src/BeSimple/SoapClient/Tests/ServerInterop/SwaServerInteropTest.php @@ -42,6 +42,8 @@ class SwaServerInteropTest extends TestCase $result = $sc->downloadFile($download); $this->assertEquals($upload->data, $result->data); + + unlink(__DIR__.'/../ServerInterop/'.$download->name); } public function testUploadDownloadImage() @@ -60,5 +62,7 @@ class SwaServerInteropTest extends TestCase $result = $sc->downloadFile($download); $this->assertEquals($upload->data, $result->data); + + unlink(__DIR__.'/../ServerInterop/'.$download->name); } -} \ No newline at end of file +}