Example #1
0
 /** @test **/
 public function it_disables_redirects_when_desired()
 {
     $c = new Configuration();
     $c->setLoginUrl('http://www.reso.org/login');
     $c->setOption('disable_follow_location', true);
     $s = new Session($c);
     $this->assertFalse($s->getClient()->getDefaultOption('allow_redirects'));
 }