Skip to content

Commit f0639fd

Browse files
committed
fix bug in old input check
1 parent aa01bc4 commit f0639fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Foundation/Testing/TestResponse.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -997,7 +997,7 @@ public function assertSessionHasInput($key, $value = null)
997997

998998
if (is_null($value)) {
999999
PHPUnit::assertTrue(
1000-
$this->session()->getOldInput($key),
1000+
$this->session()->hasOldInput($key),
10011001
"Session is missing expected key [{$key}]."
10021002
);
10031003
} elseif ($value instanceof Closure) {

0 commit comments

Comments
 (0)