subscriber lists are always from same type

This commit is contained in:
2025-01-05 14:58:30 +01:00
parent 2991383f18
commit 19338d2a58
2 changed files with 11 additions and 9 deletions

View File

@ -413,14 +413,14 @@ class SubscriberTest extends IntegrationTestCase
$this->expectException(BaseException::class);
}
$this->assertEquals(
$expected,
$this->callMethod(
$sut,
'tagged',
['2354758']
)
$return = $this->callMethod(
$sut,
'tagged',
['2354758']
);
$this->assertInstanceOf(SubscriberList::class, $return);
$this->assertSame($expected, $return->toArray());
}
public static function taggedDataProvider(): Generator