diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-06-03 12:03:02 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2015-06-03 12:33:29 +0200 |
commit | d3e3a84cae9c8926bcff810a0e16bb9dcd024888 (patch) | |
tree | 80d5588474a46f07c6dd8da142c429c3655f058f /tests/lib/repair | |
parent | 500748725c46803ff2a0ec291db37a831322012c (diff) | |
download | nextcloud-server-d3e3a84cae9c8926bcff810a0e16bb9dcd024888.tar.gz nextcloud-server-d3e3a84cae9c8926bcff810a0e16bb9dcd024888.zip |
Move the helpful method to the TestCase class
Diffstat (limited to 'tests/lib/repair')
-rw-r--r-- | tests/lib/repair/cleantags.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/lib/repair/cleantags.php b/tests/lib/repair/cleantags.php index 75bbbd07503..b455aa870fb 100644 --- a/tests/lib/repair/cleantags.php +++ b/tests/lib/repair/cleantags.php @@ -64,15 +64,15 @@ class CleanTags extends \Test\TestCase { $this->assertEntryCount('*PREFIX*vcategory_to_object', 4, 'Assert tag entries count before repair step'); $this->assertEntryCount('*PREFIX*vcategory', 4, 'Assert tag categories count before repair step'); - \Test_Helper::invokePrivate($this->repair, 'deleteOrphanFileEntries'); + self::invokePrivate($this->repair, 'deleteOrphanFileEntries'); $this->assertEntryCount('*PREFIX*vcategory_to_object', 3, 'Assert tag entries count after cleaning file entries'); $this->assertEntryCount('*PREFIX*vcategory', 4, 'Assert tag categories count after cleaning file entries'); - \Test_Helper::invokePrivate($this->repair, 'deleteOrphanTagEntries'); + self::invokePrivate($this->repair, 'deleteOrphanTagEntries'); $this->assertEntryCount('*PREFIX*vcategory_to_object', 2, 'Assert tag entries count after cleaning tag entries'); $this->assertEntryCount('*PREFIX*vcategory', 4, 'Assert tag categories count after cleaning tag entries'); - \Test_Helper::invokePrivate($this->repair, 'deleteOrphanCategoryEntries'); + self::invokePrivate($this->repair, 'deleteOrphanCategoryEntries'); $this->assertEntryCount('*PREFIX*vcategory_to_object', 2, 'Assert tag entries count after cleaning category entries'); $this->assertEntryCount('*PREFIX*vcategory', 2, 'Assert tag categories count after cleaning category entries'); } |