Skip to content

Commit 4aca147

Browse files
committed
removed usage of sf2 when possible
1 parent 8061a39 commit 4aca147

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

Tests/Command/CacheClearCommand/CacheClearCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ protected function setUp()
3333
{
3434
$this->fs = new Filesystem();
3535
$this->kernel = new TestAppKernel('test', true);
36-
$this->rootDir = sys_get_temp_dir().\DIRECTORY_SEPARATOR.uniqid('sf2_cache_', true);
36+
$this->rootDir = sys_get_temp_dir().\DIRECTORY_SEPARATOR.uniqid('sf_cache_', true);
3737
$this->kernel->setRootDir($this->rootDir);
3838
$this->fs->mkdir($this->rootDir);
3939
}

Tests/Command/TranslationDebugCommandTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public function testDebugDefaultRootDirectory()
6868
{
6969
$this->fs->remove($this->translationDir);
7070
$this->fs = new Filesystem();
71-
$this->translationDir = sys_get_temp_dir().'/'.uniqid('sf2_translation', true);
71+
$this->translationDir = sys_get_temp_dir().'/'.uniqid('sf_translation', true);
7272
$this->fs->mkdir($this->translationDir.'/translations');
7373
$this->fs->mkdir($this->translationDir.'/templates');
7474

@@ -112,7 +112,7 @@ public function testDebugInvalidDirectory()
112112
protected function setUp()
113113
{
114114
$this->fs = new Filesystem();
115-
$this->translationDir = sys_get_temp_dir().'/'.uniqid('sf2_translation', true);
115+
$this->translationDir = sys_get_temp_dir().'/'.uniqid('sf_translation', true);
116116
$this->fs->mkdir($this->translationDir.'/Resources/translations');
117117
$this->fs->mkdir($this->translationDir.'/Resources/views');
118118
$this->fs->mkdir($this->translationDir.'/translations');

Tests/Command/TranslationUpdateCommandTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function testDumpMessagesAndClean()
3434
public function testDumpMessagesAndCleanInRootDirectory()
3535
{
3636
$this->fs->remove($this->translationDir);
37-
$this->translationDir = sys_get_temp_dir().'/'.uniqid('sf2_translation', true);
37+
$this->translationDir = sys_get_temp_dir().'/'.uniqid('sf_translation', true);
3838
$this->fs->mkdir($this->translationDir.'/translations');
3939
$this->fs->mkdir($this->translationDir.'/templates');
4040

@@ -71,7 +71,7 @@ public function testWriteMessages()
7171
public function testWriteMessagesInRootDirectory()
7272
{
7373
$this->fs->remove($this->translationDir);
74-
$this->translationDir = sys_get_temp_dir().'/'.uniqid('sf2_translation', true);
74+
$this->translationDir = sys_get_temp_dir().'/'.uniqid('sf_translation', true);
7575
$this->fs->mkdir($this->translationDir.'/translations');
7676
$this->fs->mkdir($this->translationDir.'/templates');
7777

@@ -90,7 +90,7 @@ public function testWriteMessagesForSpecificDomain()
9090
protected function setUp()
9191
{
9292
$this->fs = new Filesystem();
93-
$this->translationDir = sys_get_temp_dir().'/'.uniqid('sf2_translation', true);
93+
$this->translationDir = sys_get_temp_dir().'/'.uniqid('sf_translation', true);
9494
$this->fs->mkdir($this->translationDir.'/Resources/translations');
9595
$this->fs->mkdir($this->translationDir.'/Resources/views');
9696
$this->fs->mkdir($this->translationDir.'/translations');

Tests/Translation/TranslatorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class TranslatorTest extends TestCase
2424

2525
protected function setUp()
2626
{
27-
$this->tmpDir = sys_get_temp_dir().'/sf2_translation';
27+
$this->tmpDir = sys_get_temp_dir().'/sf_translation';
2828
$this->deleteTmpDir();
2929
}
3030

0 commit comments

Comments
 (0)