Lint PHP code psr-12, add GH action
This commit is contained in:
@@ -2,9 +2,6 @@
|
||||
|
||||
uses(\Tests\TestCase::class);
|
||||
|
||||
use function Pest\Faker\faker;
|
||||
use Tests\Helpers\FormSubmissionDataFactory;
|
||||
|
||||
it('can create pro user who are subscribed', function () {
|
||||
$user = $this->actingAsProUser();
|
||||
expect($user->is_subscribed)->toBeTrue();
|
||||
@@ -19,7 +16,7 @@ it('can create test workspace', function () {
|
||||
it('can make a form for a database', function () {
|
||||
$user = $this->actingAsProUser();
|
||||
$workspace = $this->createUserWorkspace($user);
|
||||
$form = $this->makeForm($user,$workspace);
|
||||
$form = $this->makeForm($user, $workspace);
|
||||
expect($form->title)->not()->toBeNull();
|
||||
expect($form->description)->not()->toBeNull();
|
||||
expect(count($form->properties))->not()->toBe(0);
|
||||
|
||||
Reference in New Issue
Block a user