diff --git a/changelog.md b/changelog.md index 1b2848b0..970d3964 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,8 @@ # Changelog +## Version 0.16.5 + - Hotfix: adding a new note meant some tests were running against the wrong note + ## Version 0.16.4 - Improve CSP headers - Fix the map style menu in mapbox maps diff --git a/tests/Unit/NotesTest.php b/tests/Unit/NotesTest.php index b8f584b2..630516e0 100644 --- a/tests/Unit/NotesTest.php +++ b/tests/Unit/NotesTest.php @@ -29,7 +29,7 @@ class NotesTest extends TestCase public function test_default_image_used_in_makehcards_method() { $expected = '

Hi Tantek Çelik t

' . PHP_EOL; - $note = Note::find(13); + $note = Note::find(14); $this->assertEquals($expected, $note->note); } @@ -41,7 +41,7 @@ class NotesTest extends TestCase public function test_specific_profile_image_used_in_makehcards_method() { $expected = '

Hi Aaron Parecki Facebook

' . PHP_EOL; - $note = Note::find(14); + $note = Note::find(15); $this->assertEquals($expected, $note->note); } @@ -53,7 +53,7 @@ class NotesTest extends TestCase public function test_twitter_link_created_when_no_contact_found() { $expected = '

Hi @bob

' . PHP_EOL; - $note = Note::find(15); + $note = Note::find(16); $this->assertEquals($expected, $note->note); }