Fix for test failing introduced in df28732
This commit is contained in:
@@ -742,7 +742,7 @@ class Address extends Model
|
||||
|
||||
public function getIsDefaultRouteAttribute(): bool
|
||||
{
|
||||
return ! is_null($this->session('default'));
|
||||
return (! is_null($x=$this->session('default'))) && $x;
|
||||
}
|
||||
|
||||
public function getIsDownAttribute(): bool
|
||||
@@ -752,7 +752,7 @@ class Address extends Model
|
||||
|
||||
public function getIsHostedAttribute(): bool
|
||||
{
|
||||
return ! is_null($this->getPassSessionAttribute());
|
||||
return strlen($this->getPassSessionAttribute()) > 0;
|
||||
}
|
||||
|
||||
public function getIsHoldAttribute(): bool
|
||||
|
Reference in New Issue
Block a user