From 8f00e75e4ed87c228cb2778e6764645771bd41d3 Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Sun, 15 Apr 2018 11:22:10 +0100 Subject: [PATCH] Fix tests, bump version to 0.16.5 --- changelog.md | 3 +++ tests/Unit/NotesTest.php | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) 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); }