public function testIsNotEndpoint()
 {
     // arrange
     $env = 'api-test';
     // act
     $result = is_endpoint('frontend', $env);
     // assert
     $this->assertEquals(false, $result);
 }
Beispiel #2
0
 function is_frontend($env = false)
 {
     return is_endpoint('frontend', $env);
 }