mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-02 22:57:33 -05:00 
			
		
		
		
	Scaffold CreditCardTest
This commit is contained in:
		
							parent
							
								
									e8fb4d4444
								
							
						
					
					
						commit
						5d12c331ca
					
				
							
								
								
									
										35
									
								
								tests/Browser/ClientPortal/Gateways/Eway/CreditCardTest.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										35
									
								
								tests/Browser/ClientPortal/Gateways/Eway/CreditCardTest.php
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,35 @@
 | 
				
			|||||||
 | 
					<?php
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/**
 | 
				
			||||||
 | 
					 * Invoice Ninja (https://invoiceninja.com).
 | 
				
			||||||
 | 
					 *
 | 
				
			||||||
 | 
					 * @link https://github.com/invoiceninja/invoiceninja source repository
 | 
				
			||||||
 | 
					 *
 | 
				
			||||||
 | 
					 * @copyright Copyright (c) 2021. Invoice Ninja LLC (https://invoiceninja.com)
 | 
				
			||||||
 | 
					 *
 | 
				
			||||||
 | 
					 * @license https://www.elastic.co/licensing/elastic-license
 | 
				
			||||||
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					namespace Tests\Browser\ClientPortal\Gateways\Eway;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					use Laravel\Dusk\Browser;
 | 
				
			||||||
 | 
					use Tests\Browser\Pages\ClientPortal\Login;
 | 
				
			||||||
 | 
					use Tests\DuskTestCase;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					class CreditCardTest extends DuskTestCase
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					    protected function setUp(): void
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					        parent::setUp();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        foreach (static::$browsers as $browser) {
 | 
				
			||||||
 | 
					            $browser->driver->manage()->deleteAllCookies();
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        $this->browse(function (Browser $browser) {
 | 
				
			||||||
 | 
					            $browser
 | 
				
			||||||
 | 
					                ->visit(new Login())
 | 
				
			||||||
 | 
					                ->auth();
 | 
				
			||||||
 | 
					        });
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user