assertTrue(in_array('example.net', $domains)); $blockedDomain = 'https://example.org/user/replyGuy'; $this->assertFalse(Helpers::validateUrl($blockedDomain)); $unblockedDomain = 'https://pixelfed.org/user/pixelfed'; $this->assertEquals(Helpers::validateUrl($unblockedDomain), $unblockedDomain); } }