From b93c9607a25f551ce3dd56ea2c2dcd9c18b73c86 Mon Sep 17 00:00:00 2001 From: Inez Korczynski Date: Tue, 20 Oct 2015 21:30:07 +0000 Subject: [PATCH] VE-1982: Make sourceProvider content more readable and easier to understand --- tests/nodes/NodeImageTest.php | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/tests/nodes/NodeImageTest.php b/tests/nodes/NodeImageTest.php index 1bd050b..bfea9c2 100644 --- a/tests/nodes/NodeImageTest.php +++ b/tests/nodes/NodeImageTest.php @@ -86,12 +86,25 @@ class NodeImageTest extends WikiaBaseTest { public function sourceProvider() { return [ - [ '', [ 'img' ] ], - [ '{{{img}}}', [ 'img' ] ], - [ '', [ 'img', 'alt', 'cap' ] ], - [ '{{{def}}}', - [ 'img', 'alt', 'def', 'cap' ] ], - [ '', [ ] ], + [ + '', + [ 'img' ] + ], + [ + '{{{img}}}', + [ 'img' ] + ], + [ + '', + [ 'img', 'alt', 'cap' ] + ], + [ + '{{{def}}}', + [ 'img', 'alt', 'def', 'cap' ] ], + [ + '', + [ ] + ], ]; }