File tree Expand file tree Collapse file tree 2 files changed +0
-27
lines changed Expand file tree Collapse file tree 2 files changed +0
-27
lines changed Original file line number Diff line number Diff line change 22* .sublime- *
33** /vendor /*
44coverage /*
5- /tests /fixtures /unittest_annotation_test_auto_generated.yml
Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments