public function testGetIdWithoutModUniqueStable() { $request = new Request([], \OC::$server->getSecureRandom(), $this->getMock('\\OCP\\Security\\ICrypto'), $this->config, $this->stream); $firstId = $request->getId(); $secondId = $request->getId(); $this->assertSame($firstId, $secondId); }
public function testGetIdWithoutModUniqueStable() { $request = new Request([], \OC::$server->getSecureRandom(), $this->config, $this->csrfTokenManager, $this->stream); $firstId = $request->getId(); $secondId = $request->getId(); $this->assertSame($firstId, $secondId); }