Improve coverage of MailAddress::toString()
authorKunal Mehta <legoktm@gmail.com>
Mon, 22 Sep 2014 01:17:38 +0000 (18:17 -0700)
committerKunal Mehta <legoktm@gmail.com>
Mon, 22 Sep 2014 01:17:38 +0000 (18:17 -0700)
Change-Id: I8d5a1e8f293afa03d94167b722d3078f467cf59e

tests/phpunit/includes/mail/MailAddressTest.php

index 2d07812..76566eb 100644 (file)
@@ -49,6 +49,7 @@ class MailAddressTest extends MediaWikiTestCase {
                        array( false, 'foo@bar.baz', 'AUserName', 'Some real name', 'AUserName <foo@bar.baz>' ),
                        array( false, 'foo@bar.baz', '', '', 'foo@bar.baz' ),
                        array( true, 'foo@bar.baz', '', '', 'foo@bar.baz' ),
+                       array( true, '', '', '', '' ),
                );
        }