Skip to content

Commit

Permalink
Merge pull request #882 from api-platform/fix_879
Browse files Browse the repository at this point in the history
Fix the priority of POST_RESPOND
  • Loading branch information
dunglas committed Dec 13, 2016
2 parents 67b0e4d + c67ff1a commit 377227a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/EventListener/EventPriorities.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ final class EventPriorities
const PRE_WRITE = 33;
const POST_WRITE = 31;
const PRE_RESPOND = 9;
const POST_RESPOND = 7;
const POST_RESPOND = 0;
}
2 changes: 1 addition & 1 deletion tests/EventListener/EventPrioritiesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ public function testConstants()
$this->assertEquals(33, EventPriorities::PRE_WRITE);
$this->assertEquals(31, EventPriorities::POST_WRITE);
$this->assertEquals(9, EventPriorities::PRE_RESPOND);
$this->assertEquals(7, EventPriorities::POST_RESPOND);
$this->assertEquals(0, EventPriorities::POST_RESPOND);
}
}

0 comments on commit 377227a

Please sign in to comment.