Skip to content

Commit 7b6ae67

Browse files
AC-15635 : PHPUnit 12 Upgrade | PR comment addressed
1 parent 0a16d51 commit 7b6ae67

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

app/code/Magento/AdvancedSearch/Test/Unit/Block/SearchDataTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public function testGetSuggestions(): void
8888
public function testGetLink(): void
8989
{
9090
$searchQueryMock = 'Some test search query';
91-
$expectedResult = '?q=Some+test+search+query';
91+
$expectedResult = 'http://example.com/?q=Some+test+search+query';
9292

9393
$actualResult = $this->block->getLink($searchQueryMock);
9494
$this->assertEquals($expectedResult, $actualResult);

app/code/Magento/ProductVideo/Test/Unit/Block/Adminhtml/Product/Edit/NewVideoTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22
/**
3-
* Copyright 2015 Adobe
4-
* All Rights Reserved.
5-
*/
3+
* Copyright 2015 Adobe
4+
* All Rights Reserved.
5+
*/
66
declare(strict_types=1);
77

88
namespace Magento\ProductVideo\Test\Unit\Block\Adminhtml\Product\Edit;
@@ -124,4 +124,4 @@ public function testGetWidgetOptions()
124124
$result = $this->block->getWidgetOptions();
125125
$this->assertNotNull($result);
126126
}
127-
}
127+
}

0 commit comments

Comments
 (0)