Skip to content
Snippets Groups Projects
Commit b6655924 authored by Thomas Müller's avatar Thomas Müller
Browse files

Merge pull request #3653 from owncloud/shorten_identifiers_in_tests

shorten table identifiers in tests
parents 1da11275 fc270528
Branches
No related tags found
No related merge requests found
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<table> <table>
<name>*dbprefix*contacts_addressbooks</name> <name>*dbprefix*cntcts_addrsbks</name>
<declaration> <declaration>
...@@ -77,7 +77,7 @@ ...@@ -77,7 +77,7 @@
<table> <table>
<name>*dbprefix*contacts_cards</name> <name>*dbprefix*cntcts_cards</name>
<declaration> <declaration>
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<table> <table>
<name>*dbprefix*contacts_addressbooks</name> <name>*dbprefix*cntcts_addrsbks</name>
<declaration> <declaration>
......
...@@ -22,8 +22,8 @@ class Test_DB extends PHPUnit_Framework_TestCase { ...@@ -22,8 +22,8 @@ class Test_DB extends PHPUnit_Framework_TestCase {
OC_DB::createDbFromStructure(self::$schema_file); OC_DB::createDbFromStructure(self::$schema_file);
$this->test_prefix = $r; $this->test_prefix = $r;
$this->table1 = $this->test_prefix.'contacts_addressbooks'; $this->table1 = $this->test_prefix.'cntcts_addrsbks';
$this->table2 = $this->test_prefix.'contacts_cards'; $this->table2 = $this->test_prefix.'cntcts_cards';
$this->table3 = $this->test_prefix.'vcategory'; $this->table3 = $this->test_prefix.'vcategory';
} }
......
...@@ -26,8 +26,8 @@ class Test_DBSchema extends PHPUnit_Framework_TestCase { ...@@ -26,8 +26,8 @@ class Test_DBSchema extends PHPUnit_Framework_TestCase {
file_put_contents( self::$schema_file2, $content ); file_put_contents( self::$schema_file2, $content );
$this->test_prefix = $r; $this->test_prefix = $r;
$this->table1 = $this->test_prefix.'contacts_addressbooks'; $this->table1 = $this->test_prefix.'cntcts_addrsbks';
$this->table2 = $this->test_prefix.'contacts_cards'; $this->table2 = $this->test_prefix.'cntcts_cards';
} }
public function tearDown() { public function tearDown() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment