Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
arfenis committed Jul 5, 2023
1 parent 4947db8 commit 525c635
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion graphql/schemas/Inventory/region.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type Currency {
input RegionInput {
currency_id: Int!
name: String!
slug: String!
slug: String
short_slug: String!
settings: String
is_default: Int!
Expand Down
5 changes: 2 additions & 3 deletions tests/GraphQL/Inventory/ProductsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,8 @@ public function testDeleteProduct(): void
public function testAddVariantToProduct(): void
{
$region = [
'name' => 'Test Region',
'slug' => 'test-region',
'short_slug' => 'test-region',
'name' => fake()->name,
'short_slug' => fake()->name,
'is_default' => 1,
'currency_id' => 1,
];
Expand Down

0 comments on commit 525c635

Please sign in to comment.