Skip to content

Commit

Permalink
test(feature): expect empty array on frozen period index
Browse files Browse the repository at this point in the history
  • Loading branch information
KennethTrecy committed Aug 26, 2023
1 parent 211a874 commit 80821cb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions t/Feature/Resource/FrozenPeriodTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -309,8 +309,6 @@ public function testDefaultUpdate()
} catch(PageNotFoundException $error) {
$this->assertTrue(true);
}

$result->assertStatus(404);
}

public function testDefaultDelete()
Expand Down Expand Up @@ -448,7 +446,7 @@ public function testEmptyIndex()

$result->assertOk();
$result->assertJSONExact([
"frozen_periods" => json_decode(json_encode([ $frozen_period ])),
"frozen_periods" => json_decode(json_encode([])),
]);
}

Expand Down

0 comments on commit 80821cb

Please sign in to comment.