Skip to content

Commit 00fb8ae

Browse files
committed
Fix windows tests
1 parent 058c306 commit 00fb8ae

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/Symfony/Bundle/FrameworkBundle/Tests/Functional/DebugAutoconfigurationCommandTest.php

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function testBasicFunctionality()
3939
Tag console.command
4040
-------- -----------------
4141
EOD;
42-
$this->assertContains($expectedOutput, $tester->getDisplay());
42+
$this->assertContains($expectedOutput, $tester->getDisplay(true));
4343
}
4444

4545
public function testSearchArgument()
@@ -52,8 +52,8 @@ public function testSearchArgument()
5252
$tester = new ApplicationTester($application);
5353
$tester->run(array('command' => 'debug:autoconfiguration', 'search' => 'logger'));
5454

55-
$this->assertContains('Psr\Log\LoggerAwareInterface', $tester->getDisplay());
56-
$this->assertNotContains('Sensio\Bundle\FrameworkExtraBundle', $tester->getDisplay());
55+
$this->assertContains('Psr\Log\LoggerAwareInterface', $tester->getDisplay(true));
56+
$this->assertNotContains('Sensio\Bundle\FrameworkExtraBundle', $tester->getDisplay(true));
5757
}
5858

5959
public function testAutoconfigurationWithMethodCalls()
@@ -66,12 +66,12 @@ public function testAutoconfigurationWithMethodCalls()
6666
$tester = new ApplicationTester($application);
6767
$tester->run(array('command' => 'debug:autoconfiguration', 'search' => 'MethodCalls'));
6868

69-
$this->assertContains('Symfony\Bundle\FrameworkBundle\Tests\Functional\Bundle\DebugAutoconfigurationBundle\Autoconfiguration\MethodCalls', $tester->getDisplay());
69+
$this->assertContains('Symfony\Bundle\FrameworkBundle\Tests\Functional\Bundle\DebugAutoconfigurationBundle\Autoconfiguration\MethodCalls', $tester->getDisplay(true));
7070
$expectedMethodCallOutput = <<<EOD
7171
Method call - [setMethodOne, ['@logger']]
7272
- [setMethodTwo, [[paramOne, paramOne]]]
7373
EOD;
74-
$this->assertContains($expectedMethodCallOutput, $tester->getDisplay());
74+
$this->assertContains($expectedMethodCallOutput, $tester->getDisplay(true));
7575
}
7676

7777
public function testAutoconfigurationWithMultipleTagsAttributes()
@@ -84,7 +84,7 @@ public function testAutoconfigurationWithMultipleTagsAttributes()
8484
$tester = new ApplicationTester($application);
8585
$tester->run(array('command' => 'debug:autoconfiguration', 'search' => 'TagsAttributes'));
8686

87-
$this->assertContains('Symfony\Bundle\FrameworkBundle\Tests\Functional\Bundle\DebugAutoconfigurationBundle\Autoconfiguration\TagsAttributes', $tester->getDisplay());
87+
$this->assertContains('Symfony\Bundle\FrameworkBundle\Tests\Functional\Bundle\DebugAutoconfigurationBundle\Autoconfiguration\TagsAttributes', $tester->getDisplay(true));
8888
$expectedTagsAttributesOutput = <<<EOD
8989
Tag debugautoconfiguration.tag1
9090
Tag attribute [
@@ -100,7 +100,7 @@ public function testAutoconfigurationWithMultipleTagsAttributes()
100100
]
101101
]
102102
EOD;
103-
$this->assertContains($expectedTagsAttributesOutput, $tester->getDisplay());
103+
$this->assertContains($expectedTagsAttributesOutput, $tester->getDisplay(true));
104104
}
105105

106106
public function testAutoconfigurationWithBindings()
@@ -113,13 +113,13 @@ public function testAutoconfigurationWithBindings()
113113
$tester = new ApplicationTester($application);
114114
$tester->run(array('command' => 'debug:autoconfiguration', 'search' => 'Bindings'));
115115

116-
$this->assertContains('Symfony\Bundle\FrameworkBundle\Tests\Functional\Bundle\DebugAutoconfigurationBundle\Autoconfiguration\Bindings', $tester->getDisplay());
116+
$this->assertContains('Symfony\Bundle\FrameworkBundle\Tests\Functional\Bundle\DebugAutoconfigurationBundle\Autoconfiguration\Bindings', $tester->getDisplay(true));
117117
$expectedTagsAttributesOutput = <<<'EOD'
118118
Bindings $paramOne: '@logger'
119119
$paramTwo: 'binding test'
120120

121121
EOD;
122-
$this->assertContains($expectedTagsAttributesOutput, $tester->getDisplay());
122+
$this->assertContains($expectedTagsAttributesOutput, $tester->getDisplay(true));
123123
}
124124

125125
public function testSearchIgnoreBackslashWhenFindingInterfaceOrClass()
@@ -131,7 +131,7 @@ public function testSearchIgnoreBackslashWhenFindingInterfaceOrClass()
131131

132132
$tester = new ApplicationTester($application);
133133
$tester->run(array('command' => 'debug:autoconfiguration', 'search' => 'PsrLogLoggerAwareInterface'));
134-
$this->assertContains('Psr\Log\LoggerAwareInterface', $tester->getDisplay());
134+
$this->assertContains('Psr\Log\LoggerAwareInterface', $tester->getDisplay(true));
135135
}
136136

137137
public function testSearchNoResults()

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy