File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ namespace SendGrid \Test ;
4
+
5
+ class FilesExistTest extends \PHPUnit_Framework_TestCase
6
+ {
7
+ public function testFileArePresentInRepo ()
8
+ {
9
+ $ this ->assertFileExists ('./.gitignore ' );
10
+ $ this ->assertFileExists ('./.env_sample ' );
11
+ $ this ->assertFileExists ('./.travis.yml ' );
12
+ $ this ->assertFileExists ('./.codeclimate.yml ' );
13
+ $ this ->assertFileExists ('./CHANGELOG.md ' );
14
+ $ this ->assertFileExists ('./CODE_OF_CONDUCT.md ' );
15
+ $ this ->assertFileExists ('./CONTRIBUTING.md ' );
16
+ $ this ->assertFileExists ('./.github/ISSUE_TEMPLATE ' );
17
+ $ this ->assertFileExists ('./LICENSE.md ' );
18
+ $ this ->assertFileExists ('./.github/PULL_REQUEST_TEMPLATE ' );
19
+ $ this ->assertFileExists ('./README.md ' );
20
+ $ this ->assertFileExists ('./TROUBLESHOOTING.md ' );
21
+ $ this ->assertFileExists ('./USAGE.md ' );
22
+ $ this ->assertFileExists ('./USE_CASES.md ' );
23
+
24
+ $ composeExists = file_exists ('./docker-compose.yml ' ) || file_exists ('./docker/docker-compose.yml ' );
25
+ $ this ->assertTrue ($ composeExists );
26
+
27
+ $ dockerExists = file_exists ('./Docker ' ) || file_exists ('./docker/Docker ' )
28
+ $ this ->assertTrue ($ dockerExists );
29
+ }
30
+ }
31
+
You can’t perform that action at this time.
0 commit comments