SearchPaliWbwTest.php 553 B

1234567891011121314151617181920212223242526
  1. <?php
  2. namespace Tests\Feature;
  3. use Illuminate\Foundation\Testing\RefreshDatabase;
  4. use Illuminate\Foundation\Testing\WithFaker;
  5. use Tests\TestCase;
  6. class SearchPaliWbwTest extends TestCase
  7. {
  8. /**
  9. * A basic feature test example.
  10. *
  11. * @return void
  12. */
  13. public function test_store()
  14. {
  15. $response = $this->post('/api/v2/search-pali-wbw',
  16. [
  17. 'view'=>'pali',
  18. 'words'=>['jātāni','jātā'],
  19. ]);
  20. $response->assertOk();
  21. }
  22. }