From d69fe7b1a85ee19a9288f9bd77e727a1c82bfa4f Mon Sep 17 00:00:00 2001
From: Cristiano Magro <cristiano.magro@vola.it>
Date: Tue, 27 Aug 2019 11:21:41 +0200
Subject: [PATCH] decodifica dell'estensione per risalire al titolo

---
 tests/Vola/UploadFile/FilesFilterTest.php |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/tests/Vola/UploadFile/FilesFilterTest.php b/tests/Vola/UploadFile/FilesFilterTest.php
index ad3d8ae..d9334f7 100644
--- a/tests/Vola/UploadFile/FilesFilterTest.php
+++ b/tests/Vola/UploadFile/FilesFilterTest.php
@@ -52,4 +52,13 @@
         ];
     }
 
+
+    public function testDecodeTitolo()
+    {
+        $atteso = "Documenti";
+
+        $this->assertEquals($atteso, $this->object->decodeTitolo('Doc'));
+        $this->assertEquals($atteso, $this->object->decodeTitolo('doc'));
+    }
+
 }
\ No newline at end of file

--
Gitblit v1.8.0