mirror of
https://github.com/opdavies/gmail-filter-builder.git
synced 2025-09-04 04:35:33 +01:00
parent
72ed0d6f24
commit
a4c913ab38
4 changed files with 41 additions and 39 deletions
|
@ -18,9 +18,9 @@ class PartialsTest extends TestCase
|
|||
|
||||
$this->assertCount(3, $filters);
|
||||
|
||||
$this->assertSame('foo@example.com', $filters[0]->getProperties()['from'][0]);
|
||||
$this->assertSame('bar@example.com', $filters[1]->getProperties()['from'][0]);
|
||||
$this->assertSame('baz@example.com', $filters[2]->getProperties()['from'][0]);
|
||||
$this->assertSame('foo@example.com', $filters[0]->toArray()['from'][0]);
|
||||
$this->assertSame('bar@example.com', $filters[1]->toArray()['from'][0]);
|
||||
$this->assertSame('baz@example.com', $filters[2]->toArray()['from'][0]);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -29,7 +29,7 @@ class FakePartials extends Partials
|
|||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected static function getFilePattern($directoryName)
|
||||
protected static function getFilePattern($directoryName): string
|
||||
{
|
||||
return __DIR__ . '/../../stubs/filters/*.php';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue