public function getHeaders()
{
return ['x-myobapi-cftoken' => $this->cftoken, 'x-myobapi-version' => 0];
}
This will be successful when it shouldn't:
public function testMustBeRunningInVersion2()
{
$auth = new LocalAuth('user', 'pass');
$this->assert($auth->getHeaders(), has_item, ["x-myobapi-version" => "v2"]);
}
This will be successful when it shouldn't: