diff options
Diffstat (limited to 'src/Wallabag/CoreBundle/Tests/Command/InstallCommandTest.php')
-rw-r--r-- | src/Wallabag/CoreBundle/Tests/Command/InstallCommandTest.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Wallabag/CoreBundle/Tests/Command/InstallCommandTest.php b/src/Wallabag/CoreBundle/Tests/Command/InstallCommandTest.php index 7a819953..24910e60 100644 --- a/src/Wallabag/CoreBundle/Tests/Command/InstallCommandTest.php +++ b/src/Wallabag/CoreBundle/Tests/Command/InstallCommandTest.php | |||
@@ -41,7 +41,7 @@ class InstallCommandTest extends WallabagCoreTestCase | |||
41 | ->getMock(); | 41 | ->getMock(); |
42 | $dialog->expects($this->any()) | 42 | $dialog->expects($this->any()) |
43 | ->method('ask') | 43 | ->method('ask') |
44 | ->will($this->returnValue('test')); | 44 | ->will($this->returnValue('test_'.uniqid('', true))); |
45 | $dialog->expects($this->any()) | 45 | $dialog->expects($this->any()) |
46 | ->method('askConfirmation') | 46 | ->method('askConfirmation') |
47 | ->will($this->returnValue(true)); | 47 | ->will($this->returnValue(true)); |
@@ -75,7 +75,7 @@ class InstallCommandTest extends WallabagCoreTestCase | |||
75 | ->getMock(); | 75 | ->getMock(); |
76 | $dialog->expects($this->any()) | 76 | $dialog->expects($this->any()) |
77 | ->method('ask') | 77 | ->method('ask') |
78 | ->will($this->returnValue('test')); | 78 | ->will($this->returnValue('test_'.uniqid('', true))); |
79 | $dialog->expects($this->any()) | 79 | $dialog->expects($this->any()) |
80 | ->method('askConfirmation') | 80 | ->method('askConfirmation') |
81 | ->will($this->returnValue(true)); | 81 | ->will($this->returnValue(true)); |
@@ -125,7 +125,7 @@ class InstallCommandTest extends WallabagCoreTestCase | |||
125 | ->getMock(); | 125 | ->getMock(); |
126 | $dialog->expects($this->any()) | 126 | $dialog->expects($this->any()) |
127 | ->method('ask') | 127 | ->method('ask') |
128 | ->will($this->returnValue('test')); | 128 | ->will($this->returnValue('test_'.uniqid('', true))); |
129 | $dialog->expects($this->any()) | 129 | $dialog->expects($this->any()) |
130 | ->method('askConfirmation') | 130 | ->method('askConfirmation') |
131 | ->will($this->returnValue(true)); | 131 | ->will($this->returnValue(true)); |
@@ -259,7 +259,7 @@ class InstallCommandTest extends WallabagCoreTestCase | |||
259 | ->getMock(); | 259 | ->getMock(); |
260 | $dialog->expects($this->any()) | 260 | $dialog->expects($this->any()) |
261 | ->method('ask') | 261 | ->method('ask') |
262 | ->will($this->returnValue('test')); | 262 | ->will($this->returnValue('test_'.uniqid('', true))); |
263 | $dialog->expects($this->any()) | 263 | $dialog->expects($this->any()) |
264 | ->method('askConfirmation') | 264 | ->method('askConfirmation') |
265 | ->will($this->returnValue(true)); | 265 | ->will($this->returnValue(true)); |