postJson('/api/setup/stripe-plans', [ 'plans' => [ [ 'type' => 'plan', 'attributes' => [ 'name' => 'test-plan-' . Str::random(), 'price' => (string)rand(1, 99), 'description' => 'Some random description', 'capacity' => rand(1, 999), ], ], [ 'type' => 'plan', 'attributes' => [ 'name' => 'test-plan-' . Str::random(), 'price' => (string)rand(1, 99), 'description' => 'Some random description', 'capacity' => rand(1, 999), ], ], ] ])->assertStatus(204); } }