mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
Unit tests added for the new Freebox user agent.
This commit is contained in:
parent
c2ed8d5aa1
commit
8507efc427
1 changed files with 10 additions and 0 deletions
|
|
@ -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
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue