| Index: ios/clean/chrome/browser/ui/tab_collection/tab_collection_mediator_unittest.mm
|
| diff --git a/ios/clean/chrome/browser/ui/tab_collection/tab_collection_mediator_unittest.mm b/ios/clean/chrome/browser/ui/tab_collection/tab_collection_mediator_unittest.mm
|
| index 7b2663617f13118a2ff05323768e2ae96094f150..2af66b677d1844f7abcd351d37a8cb433009c3c9 100644
|
| --- a/ios/clean/chrome/browser/ui/tab_collection/tab_collection_mediator_unittest.mm
|
| +++ b/ios/clean/chrome/browser/ui/tab_collection/tab_collection_mediator_unittest.mm
|
| @@ -63,14 +63,14 @@ class TabCollectionMediatorTest : public PlatformTest {
|
| // Tests that the consumer is notified of an insert into webStateList.
|
| TEST_F(TabCollectionMediatorTest, TestInsertWebState) {
|
| InsertWebState(2);
|
| - [[consumer_ verify] insertItem:[OCMArg any] atIndex:2];
|
| + [[consumer_ verify] insertItem:[OCMArg any] atIndex:2 selectedIndex:0];
|
| }
|
|
|
| // Tests that the consumer is notified that a web state has been moved in
|
| // webStateList.
|
| TEST_F(TabCollectionMediatorTest, TestMoveWebState) {
|
| web_state_list_->MoveWebStateAt(0, 2);
|
| - [[consumer_ verify] moveItemFromIndex:0 toIndex:2];
|
| + [[consumer_ verify] moveItemFromIndex:0 toIndex:2 selectedIndex:2];
|
| }
|
|
|
| // Tests that the consumer is notified that a web state has been replaced in
|
| @@ -85,7 +85,7 @@ TEST_F(TabCollectionMediatorTest, TestReplaceWebState) {
|
| // webStateList.
|
| TEST_F(TabCollectionMediatorTest, TestDetachWebState) {
|
| web_state_list_->CloseWebStateAt(1);
|
| - [[consumer_ verify] deleteItemAtIndex:1];
|
| + [[consumer_ verify] deleteItemAtIndex:1 selectedIndex:0];
|
| }
|
|
|
| // Tests that the consumer is notified that the active web state has changed in
|
|
|