@@ -35,7 +35,6 @@ |
||
35 | 35 | * @covers ::export |
36 | 36 | * @dataProvider provideValidProductTypes |
37 | 37 | * |
38 | - * @param ProductTypeModel[] $groups |
|
39 | 38 | * @param array $expectedResult |
40 | 39 | */ |
41 | 40 | public function testSuccessfulExport(array $types, array $expectedResult = []) |
@@ -71,25 +71,25 @@ |
||
71 | 71 | $this->assertFalse($import->hasErrors()); |
72 | 72 | } |
73 | 73 | |
74 | - /** |
|
75 | - * @covers ::import |
|
76 | - * @dataProvider provideValidProductTypeDefinitions |
|
77 | - * |
|
78 | - * @param array $typeDefinitions |
|
79 | - */ |
|
80 | - public function testImportWithForceOption(array $typeDefinitions) |
|
81 | - { |
|
82 | - $this->setMockProductTypesService(); |
|
83 | - $this->setMockDbConnection(); |
|
84 | - $this->setMockSchematicFields(); |
|
85 | - |
|
86 | - $schematicProductTypesService = new ProductTypes(); |
|
87 | - |
|
88 | - $import = $schematicProductTypesService->import($typeDefinitions, true); |
|
89 | - |
|
90 | - $this->assertInstanceOf(Result::class, $import); |
|
91 | - $this->assertFalse($import->hasErrors()); |
|
92 | - } |
|
74 | + /** |
|
75 | + * @covers ::import |
|
76 | + * @dataProvider provideValidProductTypeDefinitions |
|
77 | + * |
|
78 | + * @param array $typeDefinitions |
|
79 | + */ |
|
80 | + public function testImportWithForceOption(array $typeDefinitions) |
|
81 | + { |
|
82 | + $this->setMockProductTypesService(); |
|
83 | + $this->setMockDbConnection(); |
|
84 | + $this->setMockSchematicFields(); |
|
85 | + |
|
86 | + $schematicProductTypesService = new ProductTypes(); |
|
87 | + |
|
88 | + $import = $schematicProductTypesService->import($typeDefinitions, true); |
|
89 | + |
|
90 | + $this->assertInstanceOf(Result::class, $import); |
|
91 | + $this->assertFalse($import->hasErrors()); |
|
92 | + } |
|
93 | 93 | |
94 | 94 | //============================================================================================================== |
95 | 95 | //============================================== PROVIDERS =================================================== |