This issue is to fix failing test - https://drupal.org/node/2009662#comment-7569357. The changes below are out of scope for 'Replace theme() with drupal_render() in picture module'
Undefined index: uri
Undefined index: dimensions
'picture' => array(
'variables' => array(
'style_name' => NULL,
- 'path' => NULL,
+ 'uri' => NULL,
'width' => NULL,
'height' => NULL,
'alt' => '',
@@ -163,7 +163,7 @@ function picture_theme() {
'variables' => array(
'src' => NULL,
'srcset' => NULL,
- 'dimension' => NULL,
+ 'dimensions' => NULL,
'media' => NULL,