Skip to content
Snippets Groups Projects
Commit 6043f0af authored by Joas Schilling's avatar Joas Schilling
Browse files

Use the method

parent e5a7e312
Branches
No related tags found
No related merge requests found
...@@ -77,13 +77,7 @@ class RepairInvalidSharesTest extends TestCase { ...@@ -77,13 +77,7 @@ class RepairInvalidSharesTest extends TestCase {
]) ])
->execute(); ->execute();
// select because lastInsertId does not work with OCI $bogusShareId = $this->getLastShareId();
$results = $this->connection->getQueryBuilder()
->select('id')
->from('share')
->execute()
->fetchAll();
$bogusShareId = $results[0]['id'];
// link share with expiration date // link share with expiration date
$qb = $this->connection->getQueryBuilder(); $qb = $this->connection->getQueryBuilder();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment