private function RocketChatTestUnitTest::pathFalseTest in Rocket.Chat 7.2
Same name and namespace in other branches
- 7 rocket_chat.test \RocketChatTestUnitTest::pathFalseTest()
1 call to RocketChatTestUnitTest::pathFalseTest()
- RocketChatTestUnitTest::testRocketChatUnitTest in ./
rocket_chat.test - Test RocketChat::checkIfTargetIsRocketChatPath().
File
- ./
rocket_chat.test, line 61
Class
- RocketChatTestUnitTest
- Although most core test cases are based on DrupalWebTestCase and are functional tests (exercising the web UI) we also have DrupalUnitTestCase, which executes much faster because a Drupal install does not have to be one. No environment is provided to a…
Code
private function pathFalseTest(&$paths, $path) {
return $this
->assertFalse($this
->pathTest($paths, $path), "Display Widget on [" . $path . "] ==> No", 'RocketChat');
}