Code Duplication    Length = 10-10 lines in 2 locations

tests/facades/ReservationsFacadeTest.php 2 locations

@@ 44-53 (lines=10) @@
41
        $model->storeReservation([]);
42
    }
43
44
    public function testStoreReservationWithoutTime()
45
    {
46
        $model = $this->getModel();
47
48
        $this->setExpectedException('October\Rain\Exception\ApplicationException');
49
        $nextMonday = Carbon::parse('next monday')->format('d/m/Y');
50
        $model->storeReservation([
51
            'date' => $nextMonday,
52
        ]);
53
    }
54
55
    public function testStoreReservationDaysOff()
56
    {
@@ 104-113 (lines=10) @@
101
        $model->storeReservation($data);
102
    }
103
104
    public function testStoreReservationInThePast()
105
    {
106
        $model = $this->getModel();
107
108
        $data = $this->getTestingReservationData();
109
        $data['date'] = Carbon::parse("last monday - 7 days")->format('d/m/Y');
110
111
        $this->setExpectedException('October\Rain\Exception\ApplicationException');
112
        $model->storeReservation($data);
113
    }
114
115
    public function testStoreReservation()
116
    {