fix laravel 6 compartibility of tests; remove duplicated pipeline execution

This commit is contained in:
Florian Bosdorff 2020-01-22 08:14:06 +01:00
parent 61d9b59e5f
commit 478533ae60
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
name: CI
on: [push, pull_request]
on: push
jobs:
tests:

View File

@ -74,7 +74,7 @@ class Laravel5Helper extends Laravel5
'product_id' => $product->id,
'inventory_source_id' => 1,
]));
Event::fire('catalog.product.create.after', $product);
Event::dispatch('catalog.product.create.after', $product);
return $product;
}
private function createAttributeValues($id, array $attributeValues = [])