123456789101112131415161718192021222324 |
- <?php
- // Copyright 2019 Hackware SpA <human@hackware.cl>
- // "Hackware Web Services Core" is released under the MIT License terms.
- namespace Hawese\Tests;
- class HomeControllerTest extends TestCase
- {
- public function testIndex()
- {
- $response = $this->request('GET', '/');
- $this->assertSame(
- env('WALLET_SOURCE_URL'),
- $response->getData()->links->wallet_sourcecode
- );
- $this->assertSame(
- env('PAYMENT_SOURCE_URL'),
- $response->getData()->links->payment_sourcecode
- );
- }
- }
|