File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
src/Symfony/Component/HttpKernel/Tests/Profiler Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 12
12
namespace Symfony \Component \HttpKernel \Tests \Profiler ;
13
13
14
14
use Symfony \Component \HttpKernel \DataCollector \RequestDataCollector ;
15
- use Symfony \Component \HttpKernel \Profiler \SqliteProfilerStorage ;
15
+ use Symfony \Component \HttpKernel \Profiler \FileProfilerStorage ;
16
16
use Symfony \Component \HttpKernel \Profiler \Profiler ;
17
17
use Symfony \Component \HttpFoundation \Request ;
18
18
use Symfony \Component \HttpFoundation \Response ;
@@ -60,16 +60,12 @@ public function testFindWorksWithInvalidDates()
60
60
61
61
protected function setUp ()
62
62
{
63
- if (!class_exists ('SQLite3 ' ) && (!class_exists ('PDO ' ) || !in_array ('sqlite ' , \PDO ::getAvailableDrivers ()))) {
64
- $ this ->markTestSkipped ('This test requires SQLite support in your environment ' );
65
- }
66
-
67
63
$ this ->tmp = tempnam (sys_get_temp_dir (), 'sf2_profiler ' );
68
64
if (file_exists ($ this ->tmp )) {
69
65
@unlink ($ this ->tmp );
70
66
}
71
67
72
- $ this ->storage = new SqliteProfilerStorage ( ' sqlite : ' .$ this ->tmp );
68
+ $ this ->storage = new FileProfilerStorage ( ' file : ' .$ this ->tmp );
73
69
$ this ->storage ->purge ();
74
70
}
75
71
You can’t perform that action at this time.
0 commit comments