Переглянути джерело

shorten table identifiers in tests

tags/v6.0.0alpha2
Jörn Friedrich Dreyer 11 роки тому
джерело
коміт
fc27052887

+ 2
- 2
tests/data/db_structure.xml Переглянути файл

@@ -9,7 +9,7 @@

<table>

<name>*dbprefix*contacts_addressbooks</name>
<name>*dbprefix*cntcts_addrsbks</name>

<declaration>

@@ -77,7 +77,7 @@

<table>

<name>*dbprefix*contacts_cards</name>
<name>*dbprefix*cntcts_cards</name>

<declaration>


+ 1
- 1
tests/data/db_structure2.xml Переглянути файл

@@ -9,7 +9,7 @@

<table>

<name>*dbprefix*contacts_addressbooks</name>
<name>*dbprefix*cntcts_addrsbks</name>

<declaration>


+ 2
- 2
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';
}


+ 2
- 2
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() {

Завантаження…
Відмінити
Зберегти