Files
wp-graphql-woocommerce/tests/wpunit/ProductMutationsTest.php
T
2019-03-21 21:43:24 -04:00

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() { }
}