@@ 64-71 (lines=8) @@ | ||
61 | /** |
|
62 | * Test how import contact replace strategy. More see CRM-8363 |
|
63 | */ |
|
64 | public function testAddOrReplaceStrategyImport() |
|
65 | { |
|
66 | $this->validateImportFile(self::ADD_OR_REPLACE_STRATEGY); |
|
67 | $this->doImport(self::ADD_OR_REPLACE_STRATEGY, 10, 0); |
|
68 | ||
69 | $this->validateImportFile(self::ADD_OR_REPLACE_STRATEGY); |
|
70 | $this->doImport(self::ADD_OR_REPLACE_STRATEGY, 0, 10); |
|
71 | } |
|
72 | ||
73 | /** |
|
74 | * Test how import data twice after delete. More see CRM-8364 |
|
@@ 76-85 (lines=10) @@ | ||
73 | /** |
|
74 | * Test how import data twice after delete. More see CRM-8364 |
|
75 | */ |
|
76 | public function testAddOrStrategyImport() |
|
77 | { |
|
78 | $this->validateImportFile(self::ADD_OR_REPLACE_STRATEGY); |
|
79 | $this->doImport(self::ADD_OR_REPLACE_STRATEGY, 10, 0); |
|
80 | ||
81 | $this->deleteTableRecords(); |
|
82 | ||
83 | $this->validateImportFile(self::ADD_OR_REPLACE_STRATEGY); |
|
84 | $this->doImport(self::ADD_OR_REPLACE_STRATEGY, 10, 0); |
|
85 | } |
|
86 | ||
87 | protected function deleteTableRecords() |
|
88 | { |