Skip to content

Commit

Permalink
style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lsv committed Sep 27, 2018
1 parent 4550d36 commit e75a0fa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 4 additions & 2 deletions tests/ParcelShopSingleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,13 @@ public function testOneParcelFound()
$this->assertCount(7, $parcel->getOpenings());

foreach ($parcel->getOpenings() as $opening) {
$this->assertTrue(in_array($opening->getDay(), ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday'], true));
$this->assertContains(
$opening->getDay(),
['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday']
);
$this->assertEquals('08:00', $opening->getOpenFrom());
$this->assertEquals('22:00', $opening->getOpenTo());
}

}

public function testFindOneParcelParcelsFoundButNotCorrect()
Expand Down
1 change: 0 additions & 1 deletion tests/ParcelShopZipcodeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ public function testGetParcelsFromZipcode()
foreach ($parcels as $parcel) {
$this->assertInstanceOf(Parcelshop::class, $parcel);
}

}

public function testSetLimit()
Expand Down

0 comments on commit e75a0fa

Please sign in to comment.