From fc27052887edc0475eafed87a5673ef5ab74536c Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=B6rn=20Friedrich=20Dreyer?= Date: Mon, 10 Jun 2013 11:44:04 +0200 Subject: [PATCH] shorten table identifiers in tests --- tests/data/db_structure.xml | 4 ++-- tests/data/db_structure2.xml | 2 +- tests/lib/db.php | 4 ++-- tests/lib/dbschema.php | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/data/db_structure.xml b/tests/data/db_structure.xml index af2e5ce3439..8f6dc5e2ecd 100644 --- a/tests/data/db_structure.xml +++ b/tests/data/db_structure.xml @@ -9,7 +9,7 @@ - *dbprefix*contacts_addressbooks + *dbprefix*cntcts_addrsbks @@ -77,7 +77,7 @@
- *dbprefix*contacts_cards + *dbprefix*cntcts_cards diff --git a/tests/data/db_structure2.xml b/tests/data/db_structure2.xml index c1bbb550483..fc6fe0bba7d 100644 --- a/tests/data/db_structure2.xml +++ b/tests/data/db_structure2.xml @@ -9,7 +9,7 @@
- *dbprefix*contacts_addressbooks + *dbprefix*cntcts_addrsbks diff --git a/tests/lib/db.php b/tests/lib/db.php index 440f3fb6bfd..d6626bc2561 100644 --- a/tests/lib/db.php +++ b/tests/lib/db.php @@ -22,8 +22,8 @@ class Test_DB extends PHPUnit_Framework_TestCase { OC_DB::createDbFromStructure(self::$schema_file); $this->test_prefix = $r; - $this->table1 = $this->test_prefix.'contacts_addressbooks'; - $this->table2 = $this->test_prefix.'contacts_cards'; + $this->table1 = $this->test_prefix.'cntcts_addrsbks'; + $this->table2 = $this->test_prefix.'cntcts_cards'; $this->table3 = $this->test_prefix.'vcategory'; } diff --git a/tests/lib/dbschema.php b/tests/lib/dbschema.php index e20a04ef7fd..dbc1283964f 100644 --- a/tests/lib/dbschema.php +++ b/tests/lib/dbschema.php @@ -26,8 +26,8 @@ class Test_DBSchema extends PHPUnit_Framework_TestCase { file_put_contents( self::$schema_file2, $content ); $this->test_prefix = $r; - $this->table1 = $this->test_prefix.'contacts_addressbooks'; - $this->table2 = $this->test_prefix.'contacts_cards'; + $this->table1 = $this->test_prefix.'cntcts_addrsbks'; + $this->table2 = $this->test_prefix.'cntcts_cards'; } public function tearDown() { -- 2.39.5