Skip to content

Commit cc1b0cb

Browse files
committed
Removed dynamic file creation test
1 parent dfab168 commit cc1b0cb

File tree

2 files changed

+0
-27
lines changed

2 files changed

+0
-27
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@
22
*.sublime-*
33
**/vendor/*
44
coverage/*
5-
/tests/fixtures/unittest_annotation_test_auto_generated.yml

tests/PHPUnit/Util/Log/VCRTest.php

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -23,30 +23,4 @@ public function testInterceptsWithAnnotationsAndFileExtension()
2323
$result = file_get_contents('http://google.com');
2424
$this->assertEquals('This is a annotation test dummy.', $result, 'Call was not intercepted (using annotations).');
2525
}
26-
27-
/**
28-
* @vcr unittest_annotation_test_auto_generated.yml
29-
*/
30-
public function testInterceptsWithAnnotationsAutoGenerated()
31-
{
32-
file_get_contents('http://google.com');
33-
34-
$cassettePath = __DIR__ . '/../../../fixtures/unittest_annotation_test_auto_generated.yml';
35-
36-
$this->assertTrue(
37-
file_exists($cassettePath),
38-
'Couldn\'t find the create file by vcr. Tried path: ' . $cassettePath
39-
);
40-
41-
$this->assertTrue(
42-
is_writable($cassettePath),
43-
'File was found but is not writable: ' . $cassettePath
44-
);
45-
46-
$this->assertGreaterThan(
47-
1,
48-
filesize($cassettePath),
49-
'Files doesn\'t have contents: ' . $cassettePath
50-
);
51-
}
5226
}

0 commit comments

Comments
 (0)