fix dav unit tests
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
This commit is contained in:
parent
a66bb9cdd1
commit
69d155b469
|
@ -301,7 +301,7 @@ class AuthTest extends TestCase {
|
||||||
->method('isUserAgent')
|
->method('isUserAgent')
|
||||||
->with([
|
->with([
|
||||||
'/^Mozilla\/5\.0 \([A-Za-z ]+\) (mirall|csyncoC)\/.*$/',
|
'/^Mozilla\/5\.0 \([A-Za-z ]+\) (mirall|csyncoC)\/.*$/',
|
||||||
'/^Mozilla\/5\.0 \(Android\) ownCloud\-android.*$/',
|
'/^Mozilla\/5\.0 \(Android\) (ownCloud|Nextcloud)\-android.*$/',
|
||||||
'/^Mozilla\/5\.0 \(iOS\) (ownCloud|Nextcloud)\-iOS.*$/',
|
'/^Mozilla\/5\.0 \(iOS\) (ownCloud|Nextcloud)\-iOS.*$/',
|
||||||
])
|
])
|
||||||
->willReturn(false);
|
->willReturn(false);
|
||||||
|
@ -405,7 +405,7 @@ class AuthTest extends TestCase {
|
||||||
->method('isUserAgent')
|
->method('isUserAgent')
|
||||||
->with([
|
->with([
|
||||||
'/^Mozilla\/5\.0 \([A-Za-z ]+\) (mirall|csyncoC)\/.*$/',
|
'/^Mozilla\/5\.0 \([A-Za-z ]+\) (mirall|csyncoC)\/.*$/',
|
||||||
'/^Mozilla\/5\.0 \(Android\) ownCloud\-android.*$/',
|
'/^Mozilla\/5\.0 \(Android\) (ownCloud|Nextcloud)\-android.*$/',
|
||||||
'/^Mozilla\/5\.0 \(iOS\) (ownCloud|Nextcloud)\-iOS.*$/',
|
'/^Mozilla\/5\.0 \(iOS\) (ownCloud|Nextcloud)\-iOS.*$/',
|
||||||
])
|
])
|
||||||
->willReturn(false);
|
->willReturn(false);
|
||||||
|
@ -451,7 +451,7 @@ class AuthTest extends TestCase {
|
||||||
->method('isUserAgent')
|
->method('isUserAgent')
|
||||||
->with([
|
->with([
|
||||||
'/^Mozilla\/5\.0 \([A-Za-z ]+\) (mirall|csyncoC)\/.*$/',
|
'/^Mozilla\/5\.0 \([A-Za-z ]+\) (mirall|csyncoC)\/.*$/',
|
||||||
'/^Mozilla\/5\.0 \(Android\) ownCloud\-android.*$/',
|
'/^Mozilla\/5\.0 \(Android\) (ownCloud|Nextcloud)\-android.*$/',
|
||||||
'/^Mozilla\/5\.0 \(iOS\) (ownCloud|Nextcloud)\-iOS.*$/',
|
'/^Mozilla\/5\.0 \(iOS\) (ownCloud|Nextcloud)\-iOS.*$/',
|
||||||
])
|
])
|
||||||
->willReturn(true);
|
->willReturn(true);
|
||||||
|
|
Loading…
Reference in New Issue