/**
* @author Markus Bachmann <markus.bachmann@bachi.biz>
* @group time-sensitive
+ * @group legacy
*/
class MongoDbSessionHandlerTest extends TestCase
{
->with($this->options['database'], $this->options['collection'])
->will($this->returnValue($collection));
- $methodName = phpversion('mongodb') ? 'deleteOne' : 'remove';
+ $methodName = phpversion('mongodb') ? 'deleteMany' : 'remove';
$collection->expects($this->once())
->method($methodName)