mirror of
https://github.com/wp-graphql/wp-graphql-woocommerce.git
synced 2026-08-14 12:53:44 +02:00
33 lines
517 B
PHP
33 lines
517 B
PHP
<?php
|
|
|
|
class ProductMutationsTest extends \Codeception\TestCase\WPTestCase {
|
|
|
|
public $shopManager;
|
|
public $customer;
|
|
|
|
public function setUp() {
|
|
// before
|
|
parent::setUp();
|
|
|
|
$this->shopManager = $this->factory->user->create(
|
|
[
|
|
'role' => 'shop_manager',
|
|
]
|
|
);
|
|
$this->customer = $this->factory->user->create(
|
|
[
|
|
'role' => 'customer',
|
|
]
|
|
);
|
|
}
|
|
|
|
public function tearDown() {
|
|
// your tear down methods here
|
|
// then
|
|
parent::tearDown();
|
|
}
|
|
|
|
// tests
|
|
public function testMe() { }
|
|
}
|