/** * @test */ public function shouldSetSessionId() { //when Session::connect('http://localhost/SugarCE-Full-6.5.17/service/v4_1/rest.php', 'admin', '123qwe'); //then $this->assertNotNull(Session::$sessionId); }
public function setUp() { parent::setUp(); Session::connect('http://localhost/SugarCE-Full-6.5.17/service/v4_1/rest.php', 'admin', 'piotr123'); }