mirror of
https://github.com/danog/amp.git
synced 2025-01-22 05:11:42 +01:00
Test that promise is actually a promise
This commit is contained in:
parent
b797e417d8
commit
574172128a
@ -40,6 +40,12 @@ abstract class Test extends \PHPUnit_Framework_TestCase {
|
||||
];
|
||||
}
|
||||
|
||||
function testPromiseImplementsPromise()
|
||||
{
|
||||
list($promise) = $this->promise();
|
||||
$this->assertInstanceOf(Promise::class, $promise);
|
||||
}
|
||||
|
||||
/** @dataProvider provideSuccessValues */
|
||||
function testPromiseSucceed($value)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user