Actions
Bug #25758
closedFix tests for taxonomies
Description
Many tests check whether there is a org/loc present if not then they return []
which is not appropriate as after @tbrisker's changes, taxonomies can not be
blank.
```
trait :with_subnet do
subnet do
FactoryBot.build(:subnet_ipv4,
:organizations => host ? [host.organization] : [],
:locations => host ? [host.location] : [])
end
end
```
The `host_related.rb` file has many such test cases.
Updated by The Foreman Bot over 6 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/6422 added
Updated by Rahul Bajaj over 6 years ago
- Status changed from Ready For Testing to Closed
Updated by Tomer Brisker over 6 years ago
- Status changed from Closed to Rejected
Actions