mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-04 02:27:29 -05:00 
			
		
		
		
	Working on tests
This commit is contained in:
		
							parent
							
								
									4ca3f3cd3d
								
							
						
					
					
						commit
						076c6ec150
					
				@ -1,5 +1,8 @@
 | 
				
			|||||||
{!! Former::populateField(GATEWAY_STRIPE . '_apiKey', env('STRIPE_TEST_SECRET_KEY')) !!}
 | 
					{!! Former::populateField(GATEWAY_STRIPE . '_apiKey', env('STRIPE_TEST_SECRET_KEY')) !!}
 | 
				
			||||||
{!! Former::populateField('publishable_key', env('STRIPE_TEST_PUBLISHABLE_KEY')) !!}
 | 
					{!! Former::populateField('publishable_key', env('STRIPE_TEST_PUBLISHABLE_KEY')) !!}
 | 
				
			||||||
 | 
					@if (Utils::isTravis())
 | 
				
			||||||
 | 
					    {!! Former::populateField('enable_ach', 1) !!}
 | 
				
			||||||
 | 
					@endif
 | 
				
			||||||
{!! Former::populateField('plaid_client_id', env('PLAID_TEST_CLIENT_ID')) !!}
 | 
					{!! Former::populateField('plaid_client_id', env('PLAID_TEST_CLIENT_ID')) !!}
 | 
				
			||||||
{!! Former::populateField('plaid_secret', env('PLAID_TEST_SECRET')) !!}
 | 
					{!! Former::populateField('plaid_secret', env('PLAID_TEST_SECRET')) !!}
 | 
				
			||||||
{!! Former::populateField('plaid_public_key', env('PLAID_TEST_PUBLIC_KEY')) !!}
 | 
					{!! Former::populateField('plaid_public_key', env('PLAID_TEST_PUBLIC_KEY')) !!}
 | 
				
			||||||
 | 
				
			|||||||
@ -126,6 +126,7 @@ class AcceptanceTester extends \Codeception\Actor
 | 
				
			|||||||
        $clientSession->does(function(AcceptanceTester $I) use ($invitationKey) {
 | 
					        $clientSession->does(function(AcceptanceTester $I) use ($invitationKey) {
 | 
				
			||||||
            $I->amOnPage('/view/' . $invitationKey);
 | 
					            $I->amOnPage('/view/' . $invitationKey);
 | 
				
			||||||
            $I->click('Pay Now');
 | 
					            $I->click('Pay Now');
 | 
				
			||||||
 | 
					            $I->click('Credit Card');
 | 
				
			||||||
            $I->fillField('#card_number', '4242424242424242');
 | 
					            $I->fillField('#card_number', '4242424242424242');
 | 
				
			||||||
            $I->fillField('#cvv', '100');
 | 
					            $I->fillField('#cvv', '100');
 | 
				
			||||||
            $I->selectOption('#expiration_month', 12);
 | 
					            $I->selectOption('#expiration_month', 12);
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user