<table> | <table> | ||||
<name>*dbprefix*contacts_addressbooks</name> | |||||
<name>*dbprefix*cntcts_addrsbks</name> | |||||
<declaration> | <declaration> | ||||
<table> | <table> | ||||
<name>*dbprefix*contacts_cards</name> | |||||
<name>*dbprefix*cntcts_cards</name> | |||||
<declaration> | <declaration> | ||||
<table> | <table> | ||||
<name>*dbprefix*contacts_addressbooks</name> | |||||
<name>*dbprefix*cntcts_addrsbks</name> | |||||
<declaration> | <declaration> | ||||
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->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'; | $this->table3 = $this->test_prefix.'vcategory'; | ||||
} | } | ||||
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->table2 = $this->test_prefix.'contacts_cards'; | |||||
$this->table1 = $this->test_prefix.'cntcts_addrsbks'; | |||||
$this->table2 = $this->test_prefix.'cntcts_cards'; | |||||
} | } | ||||
public function tearDown() { | public function tearDown() { |