You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hydra/tests/Feature/HelloHydraTest.php

33 lines
631 B

<?php
namespace Tests\Feature;
use Tests\TestCase;
class HelloHydraTest extends TestCase {
/**
* A basic feature test example.
*
* @return void
*/
public function test_hello_hydra() {
$response = $this->get('/api/hydra');
$response
->assertStatus(200)
->assertJson([
'message' => true,
]);
}
public function test_hydra_version() {
$response = $this->get('/api/hydra/version');
$response
->assertStatus(200)
->assertJson([
'version' => true,
]);
}
}