mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-04 14:47:52 +02:00
[ticket/10851] Request index instead of logging in and out in tests
PHPBB3-10851
This commit is contained in:
parent
91c3ad07ec
commit
fdfaba4607
@ -98,9 +98,8 @@ class phpbb_functional_fileupload_form_test extends phpbb_functional_test_case
|
||||
$form->setValues($values);
|
||||
$crawler = self::submit($form);
|
||||
|
||||
// Logout and back in for correct URL
|
||||
$this->logout();
|
||||
$this->login();
|
||||
// Request index for correct URL
|
||||
$crawler = self::request('GET', 'index.php?sid=' . $this->sid);
|
||||
|
||||
$crawler = $this->upload_file('disallowed.jpg', 'image/jpeg');
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user