whoami7 - Manager
:
/
home
/
qbizpnmr
/
arif.umairtax.com
/
tests
/
Unit
/
Upload File:
files >> /home/qbizpnmr/arif.umairtax.com/tests/Unit/PaymentTypeTest.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\Unit; use App\Models\PaymentType; use Illuminate\Support\Facades\Lang; use Tests\TestCase; /** * * App\Models\PaymentType */ class PaymentTypeTest extends TestCase { protected function setUp(): void { parent::setUp(); } public function testTranslationsExist() { $payment_type_class = new PaymentType(); foreach($payment_type_class->type_names as $type) { $this->assertTrue(Lang::has("texts.{$type}")); } } }
Copyright ©2021 || Defacer Indonesia