From 710f2c7bb046b43ec9878ae795a181101f6d7515 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 5 Sep 2015 23:30:56 -0400 Subject: Improve unit tests --- tests/units/Core/ToolTest.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 tests/units/Core/ToolTest.php (limited to 'tests/units/Core/ToolTest.php') diff --git a/tests/units/Core/ToolTest.php b/tests/units/Core/ToolTest.php new file mode 100644 index 00000000..e714f506 --- /dev/null +++ b/tests/units/Core/ToolTest.php @@ -0,0 +1,15 @@ +assertEquals('test1', Tool::getMailboxHash('a+test1@localhost')); + $this->assertEquals('', Tool::getMailboxHash('test1@localhost')); + $this->assertEquals('', Tool::getMailboxHash('test1')); + } +} -- cgit v1.2.3