Skip to content

Commit 3b30d51

Browse files
committed
Fix wherenotin caching
1 parent 9cbfac8 commit 3b30d51

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

7+
## [0.2.24] - 16 Feb 2018
8+
### Fixed
9+
- whereNotIn query caching.
10+
711
## [0.2.23] - 13 Feb 2018
812
### Fixed
913
- whereBetween and value bindings parsing.

tests/Unit/CachedBuilderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -799,7 +799,7 @@ public function testWhereNotInResults()
799799
$books = (new Book)
800800
->whereNotIn('id', [1, 2])
801801
->get();
802-
$key = sha1('genealabslaravelmodelcachingtestsfixturesbook-id_in_1_2');
802+
$key = sha1('genealabslaravelmodelcachingtestsfixturesbook-id_notin_1_2');
803803
$tags = [
804804
'genealabslaravelmodelcachingtestsfixturesbook',
805805
];

0 commit comments

Comments
 (0)