Subiendo proyecto completo sin restricciones de git ignore

This commit is contained in:
Jose Sanchez
2023-08-17 11:44:02 -04:00
parent a0d4f5ba3b
commit 20f1c60600
19921 changed files with 2509159 additions and 45 deletions

View File

@@ -0,0 +1,35 @@
<?php
namespace SebaCarrasco93\LaravelPayku\Tests\Feature;
use SebaCarrasco93\LaravelPayku\Tests\TestCase;
class CanGetRoutesTest extends TestCase
{
public function setUp() : void
{
parent::setUp();
$this->fillApiKeys();
}
/** @test */
function it_can_create_an_order() {
$this->markTestIncomplete();
$this->withoutExceptionHanpdling();
$order = [
'email' => 'seba@sextanet.cl',
'order' => 'AAA',
'subject' => 'Test',
'amount' => '1000',
'payment' => '1',
'urlreturn' => route('payku.return', 'AAA'),
'urlnotify' => route('payku.notify', 'AAA'),
];
$this->post(route('payku.create', $order))->getContent();
$this->post(route('payku.create', $order))->assertSuccessful();
}
}