mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-11 05:32:39 +01:00
41 lines
799 B
PHP
41 lines
799 B
PHP
<?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\Feature\Bank;
|
|
|
|
use App\Helpers\Bank\Yodlee\Yodlee;
|
|
use Illuminate\Foundation\Testing\DatabaseTransactions;
|
|
use Tests\TestCase;
|
|
|
|
class YodleeApiTest extends TestCase
|
|
{
|
|
use DatabaseTransactions;
|
|
|
|
protected function setUp(): void
|
|
{
|
|
parent::setUp();
|
|
}
|
|
|
|
public function testAccessTokenGeneration()
|
|
{
|
|
|
|
$yodlee = new Yodlee(true);
|
|
|
|
$access_token = $yodlee->getAccessToken();
|
|
|
|
nlog($access_token);
|
|
|
|
$this->assertNotNull($access_token);
|
|
}
|
|
|
|
}
|