get() shouldn't return session; fixes the Asset.t "get, specific properties - no session" test
This commit is contained in:
parent
b5d17576b0
commit
7933e12ab5
1 changed files with 1 additions and 0 deletions
|
|
@ -68,6 +68,7 @@ sub get {
|
||||||
return undef;
|
return undef;
|
||||||
}
|
}
|
||||||
my %properties = map { $_ => scalar $self->$_ } $self->meta->get_all_attributes_list;
|
my %properties = map { $_ => scalar $self->$_ } $self->meta->get_all_attributes_list;
|
||||||
|
delete $properties{session};
|
||||||
return \%properties;
|
return \%properties;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue