Add session_write_close() calls to SessionManager tests
authorBrad Jorsch <bjorsch@wikimedia.org>
Tue, 16 Oct 2018 14:22:33 +0000 (10:22 -0400)
committerBrad Jorsch <bjorsch@wikimedia.org>
Tue, 16 Oct 2018 14:22:33 +0000 (10:22 -0400)
commit6698b7ea1d63fbd2e3014bf563c3ad9e937bc8dd
tree7df2995a113a44d3422701a0313f2869f1b2917c
parent2589076e3bea2e9535c089d7ff816de70daa5af5
Add session_write_close() calls to SessionManager tests

PHP 7.3 doesn't like it if session_id() is called when the session has
been started, so we need to be sure to close it first in a few tests.

Bug: T207112
Change-Id: Ief36c1bb7b5c9066f158b5bb0d6d785a7f7ddd3c
tests/phpunit/includes/session/SessionBackendTest.php
tests/phpunit/includes/session/SessionManagerTest.php