diff options
Diffstat (limited to 'apps/federation')
-rw-r--r-- | apps/federation/lib/DbHandler.php | 2 | ||||
-rw-r--r-- | apps/federation/tests/Controller/OCSAuthAPIControllerTest.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/federation/lib/DbHandler.php b/apps/federation/lib/DbHandler.php index 365a70e2b74..c30bbf51ad8 100644 --- a/apps/federation/lib/DbHandler.php +++ b/apps/federation/lib/DbHandler.php @@ -77,7 +77,7 @@ class DbHandler { $query->insert($this->dbTable) ->values( [ - 'url' => $query->createParameter('url'), + 'url' => $query->createParameter('url'), 'url_hash' => $query->createParameter('url_hash'), ] ) diff --git a/apps/federation/tests/Controller/OCSAuthAPIControllerTest.php b/apps/federation/tests/Controller/OCSAuthAPIControllerTest.php index 80d83abdda0..b7bad3aaf35 100644 --- a/apps/federation/tests/Controller/OCSAuthAPIControllerTest.php +++ b/apps/federation/tests/Controller/OCSAuthAPIControllerTest.php @@ -181,7 +181,7 @@ class OCSAuthAPIControllerTest extends TestCase { try { $result = $ocsAuthApi->getSharedSecret($url, $token); $this->assertTrue($ok); - $data = $result->getData(); + $data = $result->getData(); $this->assertSame('secret', $data['sharedSecret']); } catch (OCSForbiddenException $e) { $this->assertFalse($ok); |