@@ -1285,7 +1285,7 @@ public function testValidateExpirationDateEnforceButNotSetNewShare() {
12851285 ['core ' , 'shareapi_enforce_expire_date ' , 'no ' , 'yes ' ],
12861286 ['core ' , 'shareapi_expire_after_n_days ' , '7 ' , '3 ' ],
12871287 ['core ' , 'shareapi_default_expire_date ' , 'no ' , 'yes ' ],
1288- ['core ' , 'link_defaultExpDays ' , 3 , '3 ' ],
1288+ ['core ' , 'link_defaultExpDays ' , ' 3 ' , '3 ' ],
12891289 ]);
12901290
12911291 $ expected = new \DateTime ();
@@ -1306,7 +1306,7 @@ public function testValidateExpirationDateEnforceRelaxedDefaultButNotSetNewShare
13061306 ['core ' , 'shareapi_enforce_expire_date ' , 'no ' , 'yes ' ],
13071307 ['core ' , 'shareapi_expire_after_n_days ' , '7 ' , '3 ' ],
13081308 ['core ' , 'shareapi_default_expire_date ' , 'no ' , 'yes ' ],
1309- ['core ' , 'link_defaultExpDays ' , 3 , '1 ' ],
1309+ ['core ' , 'link_defaultExpDays ' , ' 3 ' , '1 ' ],
13101310 ]);
13111311
13121312 $ expected = new \DateTime ();
@@ -1416,7 +1416,7 @@ public function testValidateExpirationDateNoDateDefault() {
14161416 ->willReturnMap ([
14171417 ['core ' , 'shareapi_default_expire_date ' , 'no ' , 'yes ' ],
14181418 ['core ' , 'shareapi_expire_after_n_days ' , '7 ' , '3 ' ],
1419- ['core ' , 'link_defaultExpDays ' , 3 , '3 ' ],
1419+ ['core ' , 'link_defaultExpDays ' , ' 3 ' , '3 ' ],
14201420 ]);
14211421
14221422 $ hookListener = $ this ->getMockBuilder ('Dummy ' )->setMethods (['listener ' ])->getMock ();
@@ -1445,7 +1445,7 @@ public function testValidateExpirationDateDefault() {
14451445 ->willReturnMap ([
14461446 ['core ' , 'shareapi_default_expire_date ' , 'no ' , 'yes ' ],
14471447 ['core ' , 'shareapi_expire_after_n_days ' , '7 ' , '3 ' ],
1448- ['core ' , 'link_defaultExpDays ' , 3 , '1 ' ],
1448+ ['core ' , 'link_defaultExpDays ' , ' 3 ' , '1 ' ],
14491449 ]);
14501450
14511451 $ hookListener = $ this ->getMockBuilder ('Dummy ' )->setMethods (['listener ' ])->getMock ();
0 commit comments