chore: adjusts tests

This commit is contained in:
Nuno Maduro
2024-09-03 14:09:03 +01:00
parent 8920b850e1
commit e2d360b1b5
36 changed files with 187 additions and 84 deletions

View File

@ -150,7 +150,7 @@ test('high order test with skip')
dd('This should not run 5');
});
uses(Postable::class);
pest()->use(Postable::class);
/**
* @return TestCase|TestCall|Gettable

View File

@ -10,7 +10,7 @@ class InheritanceTest extends TestCase
}
}
uses(InheritanceTest::class);
pest()->extend(InheritanceTest::class);
it('is a test', function () {
expect(true)->toBeTrue();

View File

@ -3,7 +3,7 @@
use Pest\PendingCalls\TestCall;
use PHPUnit\Framework\TestCase;
uses(Gettable::class);
pest()->use(Gettable::class);
/**
* @return TestCase|TestCall|Gettable

17
tests/Features/Wip.php Normal file
View File

@ -0,0 +1,17 @@
<?php
it('may have an associated assignee', function () {
expect(true)->toBeTrue();
})->wip(assignee: 'nunomaduro');
it('may have an associated issue', function () {
expect(true)->toBeTrue();
})->wip(issue: 1);
it('may have an associated PR', function () {
expect(true)->toBeTrue();
})->wip(pr: 1);
it('may have an associated note', function () {
expect(true)->toBeTrue();
})->wip(note: 'a note');