reupload
This commit is contained in:
10
tests/Feature/AppVersionCheckTest.php
Normal file
10
tests/Feature/AppVersionCheckTest.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
test('route exists', function () {
|
||||
$this->post('api/app-version')->assertFound();
|
||||
});
|
||||
|
||||
test('version param must be valid string', function () {
|
||||
// Empty
|
||||
$this->asJson()->post('api/app-version')->assertInvalid(['version']);
|
||||
});
|
||||
Reference in New Issue
Block a user