mirror of
https://github.com/wp-graphql/wp-graphql-woocommerce.git
synced 2026-08-14 12:53:44 +02:00
34 lines
575 B
PHP
34 lines
575 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()
|
|
{
|
|
}
|
|
|
|
} |