Skip to content

Commit c93a0b7

Browse files
committed
Merge branch 'develop'
* develop: Fix tests.
2 parents 9627c13 + a2b09fc commit c93a0b7

File tree

1 file changed

+30
-30
lines changed

1 file changed

+30
-30
lines changed

tests/PartialCleanDirsTest.php

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -74,98 +74,98 @@ public function testRun() {
7474
$fs = $this->getMockBuilder(\Symfony\Component\Filesystem\Filesystem::class)
7575
->getMock();
7676

77-
$fs->expects($this->at(1))
77+
$fs->expects($this->at(0))
7878
->method('chmod')
7979
->with('dir1', 0777, 0000, true);
80-
$fs->expects($this->at(2))
80+
$fs->expects($this->at(1))
8181
->method('remove')
8282
->with('dir1');
83-
$fs->expects($this->at(4))
83+
$fs->expects($this->at(2))
8484
->method('chmod')
8585
->with('dir2', 0777, 0000, true);
86-
$fs->expects($this->at(5))
86+
$fs->expects($this->at(3))
8787
->method('remove')
8888
->with('dir2');
89-
$fs->expects($this->at(7))
89+
$fs->expects($this->at(4))
9090
->method('chmod')
9191
->with('dir3', 0777, 0000, true);
92-
$fs->expects($this->at(8))
92+
$fs->expects($this->at(5))
9393
->method('remove')
9494
->with('dir3');
95-
$fs->expects($this->at(10))
95+
$fs->expects($this->at(6))
9696
->method('chmod')
9797
->with('dir4', 0777, 0000, true);
98-
$fs->expects($this->at(11))
98+
$fs->expects($this->at(7))
9999
->method('remove')
100100
->with('dir4');
101-
$fs->expects($this->at(13))
101+
$fs->expects($this->at(8))
102102
->method('chmod')
103103
->with('dir5', 0777, 0000, true);
104-
$fs->expects($this->at(14))
104+
$fs->expects($this->at(9))
105105
->method('remove')
106106
->with('dir5');
107-
$fs->expects($this->at(16))
107+
$fs->expects($this->at(10))
108108
->method('chmod')
109109
->with('dir6', 0777, 0000, true);
110-
$fs->expects($this->at(17))
110+
$fs->expects($this->at(11))
111111
->method('remove')
112112
->with('dir6');
113113

114114
// Delete items in path/to/dir2.
115-
$fs->expects($this->at(19))
115+
$fs->expects($this->at(12))
116116
->method('chmod')
117117
->with('dir1', 0777, 0000, true);
118-
$fs->expects($this->at(20))
118+
$fs->expects($this->at(13))
119119
->method('remove')
120120
->with('dir1');
121-
$fs->expects($this->at(22))
121+
$fs->expects($this->at(14))
122122
->method('chmod')
123123
->with('dir2', 0777, 0000, true);
124-
$fs->expects($this->at(23))
124+
$fs->expects($this->at(15))
125125
->method('remove')
126126
->with('dir2');
127-
$fs->expects($this->at(25))
127+
$fs->expects($this->at(16))
128128
->method('chmod')
129129
->with('dir3', 0777, 0000, true);
130-
$fs->expects($this->at(26))
130+
$fs->expects($this->at(17))
131131
->method('remove')
132132
->with('dir3');
133-
$fs->expects($this->at(28))
133+
$fs->expects($this->at(18))
134134
->method('chmod')
135135
->with('dir4', 0777, 0000, true);
136-
$fs->expects($this->at(29))
136+
$fs->expects($this->at(19))
137137
->method('remove')
138138
->with('dir4');
139-
$fs->expects($this->at(31))
139+
$fs->expects($this->at(20))
140140
->method('chmod')
141141
->with('dir5', 0777, 0000, true);
142-
$fs->expects($this->at(32))
142+
$fs->expects($this->at(21))
143143
->method('remove')
144144
->with('dir5');
145-
$fs->expects($this->at(34))
145+
$fs->expects($this->at(22))
146146
->method('chmod')
147147
->with('dir6', 0777, 0000, true);
148-
$fs->expects($this->at(35))
148+
$fs->expects($this->at(23))
149149
->method('remove')
150150
->with('dir6');
151-
$fs->expects($this->at(37))
151+
$fs->expects($this->at(24))
152152
->method('chmod')
153153
->with('dir7', 0777, 0000, true);
154-
$fs->expects($this->at(38))
154+
$fs->expects($this->at(25))
155155
->method('remove')
156156
->with('dir7');
157-
$fs->expects($this->at(40))
157+
$fs->expects($this->at(26))
158158
->method('chmod')
159159
->with('dir8', 0777, 0000, true);
160-
$fs->expects($this->at(41))
160+
$fs->expects($this->at(27))
161161
->method('remove')
162162
->with('dir8');
163163

164164
// Delete items in path/to/dir3.
165-
$fs->expects($this->at(43))
165+
$fs->expects($this->at(28))
166166
->method('chmod')
167167
->with('dir1', 0777, 0000, true);
168-
$fs->expects($this->at(44))
168+
$fs->expects($this->at(29))
169169
->method('remove')
170170
->with('dir1');
171171

0 commit comments

Comments
 (0)