Add tests for null user

This commit is contained in:
Vincent Petry 2017-02-27 16:19:48 +01:00 committed by Bjoern Schiessle
parent c215255771
commit f000df0263
No known key found for this signature in database
GPG Key ID: 2378A753E2BF04F6
1 changed files with 5 additions and 1 deletions

View File

@ -418,7 +418,11 @@ class KeyManagerTest extends TestCase {
['', false, 'privateKey', true],
['', false, false, ''],
['', true, 'privateKey', true],
['', true, false, '']
['', true, false, ''],
[null, false, 'privateKey', true],
[null, false, false, ''],
[null, true, 'privateKey', true],
[null, true, false, '']
];
}