小程序用户改用门店登录
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
namespace Tests\Feature;
|
||||
|
||||
use App\Models\ProductCategoryModel;
|
||||
use App\Models\UserModel;
|
||||
use App\Models\StoreModel;
|
||||
|
||||
/**
|
||||
* 商品分类两级限制 + 商品只能挂末级分类:
|
||||
@@ -169,7 +169,7 @@ class ProductCategoryTest extends ProcurementTestCase
|
||||
'status' => ProductCategoryModel::STATUS_DISABLED,
|
||||
]);
|
||||
|
||||
$this->actingAsMiniUser(UserModel::factory()->create());
|
||||
$this->actingAsMiniStore(StoreModel::factory()->create());
|
||||
|
||||
$response = $this->getJson('/mini/product/categories');
|
||||
$response->assertOk()->assertJsonPath('success', true);
|
||||
|
||||
Reference in New Issue
Block a user