8000 [Tests] Add additional posts test and update changelog · tooshay/laravel-json-api@abe7213 · GitHub
[go: up one dir, main page]

Skip to content 10000

Commit abe7213

Browse files
committed
[Tests] Add additional posts test and update changelog
1 parent c9cf923 commit abe7213

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
All notable changes to this project will be documented in this file. This project adheres to
33
[Semantic Versioning](http://semver.org/) and [this changelog format](http://keepachangelog.com/).
44

5+
## [0.10.3] - 2017-09-02
6+
7+
### Fixed
8+
-[#96] Fixed creation of qualified sorting parameters in the Eloquent adapter.
9+
510
## [0.10.2] - 2017-08-25
611

712
### Added

tests/Integration/Eloquent/PostsTest.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,13 @@ class PostsTest extends TestCase
1313
*/
1414
protected $resourceType = 'posts';
1515

16+
public function testSearch()
17+
{
18+
factory(Post::class, 3)->create();
19+
20+
$this->doSearch(['sort' => '-created-at'])->assertSearchResponse();
21+
}
22+
1623
/**
1724
* Test that we can search posts for specific ids
1825
*/

0 commit comments

Comments
 (0)
0