Unit tests added for the new Freebox user agent.

This commit is contained in:
Martial Saunois 2014-01-28 21:08:27 +01:00
parent c2ed8d5aa1
commit 8507efc427

View file

@ -118,6 +118,16 @@ class Test_Request extends PHPUnit_Framework_TestCase {
),
true
),
array(
'Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Firefox/24.0',
OC_Request::USER_AGENT_FREEBOX,
false
),
array(
'Mozilla/5.0',
OC_Request::USER_AGENT_FREEBOX,
true
),
);
}
}