diff options
author | Joas Schilling <coding@schilljs.com> | 2018-07-12 11:55:19 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2018-07-12 11:55:19 +0200 |
commit | b7de6d7a24f76c91dffe1644c4b24e0a27b43c14 (patch) | |
tree | 6b59887a4544adc80c4d37cc9742fec1c311df81 /apps/dav/tests/unit/BackgroundJob | |
parent | e3126fa091305a2325711d54d06a127283f27c56 (diff) | |
download | nextcloud-server-b7de6d7a24f76c91dffe1644c4b24e0a27b43c14.tar.gz nextcloud-server-b7de6d7a24f76c91dffe1644c4b24e0a27b43c14.zip |
Shorten resource table names to allow install on oracle again
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/dav/tests/unit/BackgroundJob')
-rw-r--r-- | apps/dav/tests/unit/BackgroundJob/UpdateCalendarResourcesRoomsBackgroundJobTest.php | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/apps/dav/tests/unit/BackgroundJob/UpdateCalendarResourcesRoomsBackgroundJobTest.php b/apps/dav/tests/unit/BackgroundJob/UpdateCalendarResourcesRoomsBackgroundJobTest.php index 56f768ceda0..e012d5e3f18 100644 --- a/apps/dav/tests/unit/BackgroundJob/UpdateCalendarResourcesRoomsBackgroundJobTest.php +++ b/apps/dav/tests/unit/BackgroundJob/UpdateCalendarResourcesRoomsBackgroundJobTest.php @@ -60,8 +60,8 @@ class UpdateCalendarResourcesRoomsBackgroundJobTest extends TestCase { protected function tearDown() { $query = self::$realDatabase->getQueryBuilder(); - $query->delete('calendar_resources_cache')->execute(); - $query->delete('calendar_rooms_cache')->execute(); + $query->delete('calendar_resources')->execute(); + $query->delete('calendar_rooms')->execute(); } /** @@ -170,7 +170,7 @@ class UpdateCalendarResourcesRoomsBackgroundJobTest extends TestCase { $this->backgroundJob->run([]); $query = self::$realDatabase->getQueryBuilder(); - $query->select('*')->from('calendar_resources_cache'); + $query->select('*')->from('calendar_resources'); $rows = []; $stmt = $query->execute(); @@ -227,7 +227,7 @@ class UpdateCalendarResourcesRoomsBackgroundJobTest extends TestCase { protected function createTestResourcesInCache() { $query = self::$realDatabase->getQueryBuilder(); - $query->insert('calendar_resources_cache') + $query->insert('calendar_resources') ->values([ 'backend_id' => $query->createNamedParameter('backend1'), 'resource_id' => $query->createNamedParameter('res1'), @@ -236,7 +236,7 @@ class UpdateCalendarResourcesRoomsBackgroundJobTest extends TestCase { 'group_restrictions' => $query->createNamedParameter('[]'), ]) ->execute(); - $query->insert('calendar_resources_cache') + $query->insert('calendar_resources') ->values([ 'backend_id' => $query->createNamedParameter('backend1'), 'resource_id' => $query->createNamedParameter('res2'), @@ -245,7 +245,7 @@ class UpdateCalendarResourcesRoomsBackgroundJobTest extends TestCase { 'group_restrictions' => $query->createNamedParameter('[]'), ]) ->execute(); - $query->insert('calendar_resources_cache') + $query->insert('calendar_resources') ->values([ 'backend_id' => $query->createNamedParameter('backend2'), 'resource_id' => $query->createNamedParameter('res3'), @@ -254,7 +254,7 @@ class UpdateCalendarResourcesRoomsBackgroundJobTest extends TestCase { 'group_restrictions' => $query->createNamedParameter('[]'), ]) ->execute(); - $query->insert('calendar_resources_cache') + $query->insert('calendar_resources') ->values([ 'backend_id' => $query->createNamedParameter('backend2'), 'resource_id' => $query->createNamedParameter('res4'), @@ -263,7 +263,7 @@ class UpdateCalendarResourcesRoomsBackgroundJobTest extends TestCase { 'group_restrictions' => $query->createNamedParameter('[]'), ]) ->execute(); - $query->insert('calendar_resources_cache') + $query->insert('calendar_resources') ->values([ 'backend_id' => $query->createNamedParameter('backend3'), 'resource_id' => $query->createNamedParameter('res5'), @@ -272,7 +272,7 @@ class UpdateCalendarResourcesRoomsBackgroundJobTest extends TestCase { 'group_restrictions' => $query->createNamedParameter('[]'), ]) ->execute(); - $query->insert('calendar_resources_cache') + $query->insert('calendar_resources') ->values([ 'backend_id' => $query->createNamedParameter('backend3'), 'resource_id' => $query->createNamedParameter('res6'), |