Skip to content

Commit

Permalink
Prepare 4.1.0 release.
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed Nov 3, 2019
1 parent 1074078 commit c0ecdd9
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG-4.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

This changelog references the relevant changes (bug and security fixes) done to `orchestra/html`.

## 4.1.0

Released: 2019-11-03

### Changes

* Replace `Orchestra\Support\Concerns\QueryFilter` with `Laravie\QueryFilter\Orderable` and `Laravie\QueryFilter\Searchable`.

## 4.0.0

Released: 2019-09-03
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"php": ">=7.2",
"illuminate/translation": "^6.0",
"laravie/html": "^6.0",
"laravie/query-filter": "^1.0",
"laravie/query-filter": "^1.0.2",
"orchestra/contracts": "^4.0",
"orchestra/support": "^4.0"
},
Expand Down
6 changes: 5 additions & 1 deletion tests/Table/GridTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,11 @@ public function testSearchableMethod()
$model = m::mock('\Illuminate\Database\Query\Builder');

$model->shouldReceive('getConnection->getDriverName')->andReturn('mysql');
$model->shouldReceive('orWhere')->twice()->with(m::type('Closure'))
$model->shouldReceive('where')->once()->with(m::type('Closure'))
->andReturnUsing(static function ($c) use ($model) {
$c($model);
})
->shouldReceive('orWhere')->twice()->with(m::type('Closure'))
->andReturnUsing(static function ($c) use ($model) {
$c($model);
})
Expand Down

0 comments on commit c0ecdd9

Please sign in to comment.