From 6e20d0f05e2342c92761982cb4e6acee944eae8c Mon Sep 17 00:00:00 2001 From: JanPetterMG Date: Fri, 8 Apr 2016 19:46:17 +0200 Subject: [PATCH] Updated tests --- tests/ExceptionMBStringTest.php | 23 +++++++++++++++++++++++ tests/VersionTest.php | 4 ++++ 2 files changed, 27 insertions(+) create mode 100644 tests/ExceptionMBStringTest.php diff --git a/tests/ExceptionMBStringTest.php b/tests/ExceptionMBStringTest.php new file mode 100644 index 0000000..4c92548 --- /dev/null +++ b/tests/ExceptionMBStringTest.php @@ -0,0 +1,23 @@ +expectException('\Exception'); + new UserAgentParser('SitemapParser'); + } + } +} diff --git a/tests/VersionTest.php b/tests/VersionTest.php index 2a58a32..32fac96 100644 --- a/tests/VersionTest.php +++ b/tests/VersionTest.php @@ -37,6 +37,10 @@ function generateDataForTest() [ 'bingbot/2.0', 'bingbot', + ], + [ + 'mybot', + 'mybot', ] ]; }