Skip to content

Commit f5c3201

Browse files
author
Ben Robie
committed
Issue 8131 - Asserting that a redirect result is returned from the execute.
1 parent 6101287 commit f5c3201

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/CatalogSearch/Test/Unit/Controller/Advanced

1 file changed

+1
-1
lines changed

app/code/Magento/CatalogSearch/Test/Unit/Controller/Advanced/ResultTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,6 @@ public function testUrlSetOnException()
136136
'urlFactory' => $urlFactoryMock
137137
]
138138
);
139-
$instance->execute();
139+
$this->assertEquals($redirectResultMock, $instance->execute());
140140
}
141141
}

0 commit comments

Comments
 (0)