Skip to content

Commit a1f9686

Browse files
author
Marvin Alexander Rüll
committed
Fix tests
1 parent bc93867 commit a1f9686

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/Github/Tests/Api/RepoTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ public function shouldCreateRepositoryUsingNameOnly()
9696
'description' => '',
9797
'homepage' => '',
9898
'visibility' => 'public',
99+
'private' => false,
99100
'has_issues' => false,
100101
'has_wiki' => false,
101102
'has_downloads' => false,
@@ -122,6 +123,7 @@ public function shouldCreateRepositoryForOrganization()
122123
'description' => '',
123124
'homepage' => '',
124125
'visibility' => 'public',
126+
'private' => false,
125127
'has_issues' => false,
126128
'has_wiki' => false,
127129
'has_downloads' => false,
@@ -153,6 +155,7 @@ public function shouldCreateRepositoryWithInternalVisibility()
153155
'auto_init' => false,
154156
'has_projects' => true,
155157
'visibility' => 'internal',
158+
'private' => false,
156159
])
157160
->will($this->returnValue($expectedArray));
158161

@@ -372,6 +375,7 @@ public function shouldCreateUsingAllParams()
372375
'description' => 'test',
373376
'homepage' => 'http://l3l0.eu',
374377
'visibility' => 'private',
378+
'private' => true,
375379
'has_issues' => false,
376380
'has_wiki' => false,
377381
'has_downloads' => false,

0 commit comments

Comments
 (0)