refactor: slim the hotel and country base-data models
This commit is contained in:
1 parent
aa66c50979
commit
db529d2dc9
5 files changed
+3
-91
No files matched your search
@@ -23,8 +23,8 @@ class HotelDataProviderTest extends TestCase
|
||||
|
||||
$this->assertEquals([163959, 11223], array_keys($hotels));
|
||||
$this->assertEquals('Sportclub Jenatsch', $hotels[163959]->getName());
|
||||
// MyE&P reports the BusProNet idbuspro as the id, so both properties carry it
|
||||
$this->assertEquals(163959, $hotels[163959]->getId());
|
||||
// MyE&P reports the BusProNet idbuspro as its id, and busProId is the only property
|
||||
// that holds it now - the model used to carry the same number twice
|
||||
$this->assertEquals(163959, $hotels[163959]->getBusProId());
|
||||
$this->assertEquals('4711', $hotels[163959]->getCostUnit());
|
||||
$this->assertEquals('CH', $hotels[163959]->getCountry());
|
||||
|
||||
Reference in new issue
Block a user