mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-03 22:27:31 -05:00 
			
		
		
		
	Gateways: Braintree: Credit card: Remove credit card
This commit is contained in:
		
							parent
							
								
									f4b7f4b85c
								
							
						
					
					
						commit
						f354da50a1
					
				@ -100,4 +100,17 @@ class CreditCardTest extends DuskTestCase
 | 
				
			|||||||
                ->waitForText('Details of the payment', 60);
 | 
					                ->waitForText('Details of the payment', 60);
 | 
				
			||||||
        });
 | 
					        });
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    public function testRemoveCreditCard()
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					        $this->browse(function (Browser $browser) {
 | 
				
			||||||
 | 
					            $browser
 | 
				
			||||||
 | 
					                ->visitRoute('client.payment_methods.index')
 | 
				
			||||||
 | 
					                ->clickLink('View')
 | 
				
			||||||
 | 
					                ->press('Remove Payment Method')
 | 
				
			||||||
 | 
					                ->waitForText('Confirmation')
 | 
				
			||||||
 | 
					                ->click('@confirm-payment-removal')
 | 
				
			||||||
 | 
					                ->assertSee('Payment method has been successfully removed.');
 | 
				
			||||||
 | 
					        });
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user