mirror of
https://github.com/opdavies/gmail-filter-builder.git
synced 2025-11-13 21:48:45 +00:00
parent
d6f63dcc57
commit
de9db84d6d
3 changed files with 51 additions and 40 deletions
|
|
@ -8,7 +8,8 @@ use PHPUnit\Framework\TestCase;
|
|||
|
||||
class BuilderTest extends TestCase
|
||||
{
|
||||
public function testBuild()
|
||||
/** @test */
|
||||
public function it_can_build_filters()
|
||||
{
|
||||
$filterA = (new Filter())
|
||||
->from(['foo@example.com', 'test@example.com'])
|
||||
|
|
|
|||
|
|
@ -8,10 +8,8 @@ use PHPUnit\Framework\TestCase;
|
|||
|
||||
class PartialsTest extends TestCase
|
||||
{
|
||||
/**
|
||||
* Test loading partials from multiple partial files.
|
||||
*/
|
||||
public function testLoadingFiltersFromPartials()
|
||||
/** @test */
|
||||
public function filters_can_be_loaded_from_partials()
|
||||
{
|
||||
/** @var Filter[] $filters */
|
||||
$filters = FakePartials::load('filters');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue