toBe(Portal::Presseecho) ->and(Portal::fromTheme('businessportal24'))->toBe(Portal::Businessportal24); }); test('admin and hub themes resolve to no portal filter', function () { expect(Portal::fromTheme('portal'))->toBeNull() ->and(Portal::fromTheme('pressekonto'))->toBeNull() ->and(Portal::fromTheme('main'))->toBeNull() ->and(Portal::fromTheme(null))->toBeNull(); });