mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-25 01:27:29 +01:00
* [ADD] Unit testing. Work in progress
* [MOD] Code refactoring * [MOD] Make classes final for performance improvements and avoid some side behaviours
This commit is contained in:
@@ -39,7 +39,7 @@ class XmlFileImportTest extends TestCase
|
||||
|
||||
/**
|
||||
* @throws \SP\Services\Import\ImportException
|
||||
* @throws \SP\Storage\FileException
|
||||
* @throws \SP\Storage\File\FileException
|
||||
*/
|
||||
public function testDetectXMLFormat()
|
||||
{
|
||||
@@ -58,7 +58,7 @@ class XmlFileImportTest extends TestCase
|
||||
|
||||
/**
|
||||
* @throws \SP\Services\Import\ImportException
|
||||
* @throws \SP\Storage\FileException
|
||||
* @throws \SP\Storage\File\FileException
|
||||
*/
|
||||
public function testInvalidFile()
|
||||
{
|
||||
@@ -71,7 +71,7 @@ class XmlFileImportTest extends TestCase
|
||||
|
||||
/**
|
||||
* @throws \SP\Services\Import\ImportException
|
||||
* @throws \SP\Storage\FileException
|
||||
* @throws \SP\Storage\File\FileException
|
||||
*/
|
||||
public function testEmptyFile()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user