mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
chore: adjusts tests
This commit is contained in:
@ -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
|
||||
|
||||
@ -10,7 +10,7 @@ class InheritanceTest extends TestCase
|
||||
}
|
||||
}
|
||||
|
||||
uses(InheritanceTest::class);
|
||||
pest()->extend(InheritanceTest::class);
|
||||
|
||||
it('is a test', function () {
|
||||
expect(true)->toBeTrue();
|
||||
|
||||
@ -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
17
tests/Features/Wip.php
Normal 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');
|
||||
Reference in New Issue
Block a user