mirror of
https://github.com/nothingworksinc/ticketbeast.git
synced 2026-02-05 05:49:05 +00:00
159 - Unit Testing Middleware
This commit is contained in:
@@ -21,7 +21,8 @@ class ConnectWithStripeTest extends DuskTestCase
|
||||
|
||||
$this->browse(function (Browser $browser) use ($user) {
|
||||
$browser->loginAs($user)
|
||||
->visit('/backstage/stripe-connect/authorize')
|
||||
->visit('/backstage/stripe-connect/connect')
|
||||
->clickLink('Connect with Stripe')
|
||||
->assertUrlIs('https://connect.stripe.com/oauth/authorize')
|
||||
->assertQueryStringHas('response_type', 'code')
|
||||
->assertQueryStringHas('scope', 'read_write')
|
||||
|
||||
Reference in New Issue
Block a user