Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix bugs, that occurreds fatal errors
  • Loading branch information
yko-keepit committed Oct 27, 2018
commit 003f175c83a05b04d0b8fae3dcac9a5651283906
4 changes: 2 additions & 2 deletions tests/lib/Traits/EncryptionTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ trait EncryptionTrait {
abstract protected function registerStorageWrapper($name, $wrapper);

// from phpunit
abstract protected function markTestSkipped($reason = '');
abstract protected function assertTrue($condition, $message = '');
abstract protected function markTestSkipped(string $message = '');
abstract protected function assertTrue($condition, string $message = '');

private $encryptionWasEnabled;

Expand Down
2 changes: 1 addition & 1 deletion tests/startsessionlistener.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class StartSessionListener implements TestListener {

use TestListenerDefaultImplementation;

public function endTest(Test $test, $time) {
public function endTest(Test $test, float $time) :void {
// reopen the session - only allowed for memory session
if (\OC::$server->getSession() instanceof Memory) {
/** @var $session Memory */
Expand Down