Skip to content

Commit f3508e8

Browse files
committed
Another test fix for Laravel 5.4
1 parent 9b79ffb commit f3508e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/SettingTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ public function test_cache()
159159
// Retrieve the value once to cache it.
160160
setting()->get('key');
161161

162-
setting()->model()->whereKey('key')->delete();
162+
setting()->model()->where(['key' => 'key'])->delete();
163163

164164
// Test that the value is cached when the model doesn't exist.
165165
$this->assertEquals('value', setting()->get('key'));

0 commit comments

Comments
 (0)