Ejemplo n.º 1
0
 /**
  * Test the enable/disable of throttling
  */
 public function testEnableDisableThrottle()
 {
     Gatekeeper::disableThrottle();
     $this->assertFalse(Gatekeeper::throttleStatus());
     Gatekeeper::enableThrottle();
     $this->assertTrue(Gatekeeper::throttleStatus());
 }