File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Test/Unit/Model/ItemProvider Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ class StoreUrl implements ItemProviderInterface
25
25
private $ configReader ;
26
26
27
27
/**
28
- * CategorySitemapItemResolver constructor.
28
+ * StoreUrlSitemapItemResolver constructor.
29
29
*
30
30
* @param ConfigReaderInterface $configReader
31
31
* @param SitemapItemInterfaceFactory $itemFactory
Original file line number Diff line number Diff line change @@ -25,9 +25,9 @@ public function testGetItems()
25
25
$ items = $ resolver ->getItems (1 );
26
26
27
27
$ this ->assertTrue (count ($ items ) == 1 );
28
- foreach ($ items as $ index => $ item ) {
29
- $ this ->assertSame ('daily ' , $ items [ $ index ] ->getChangeFrequency ());
30
- $ this ->assertSame ('1.0 ' , $ items [ $ index ] ->getPriority ());
28
+ foreach ($ items as $ item ) {
29
+ $ this ->assertSame ('daily ' , $ item ->getChangeFrequency ());
30
+ $ this ->assertSame ('1.0 ' , $ item ->getPriority ());
31
31
}
32
32
}
33
33
You can’t perform that action at this time.
0 commit comments