@@ -79,93 +79,6 @@ describe('Tools tests', () => {
7979 ) . toBe ( 'releases/download/v1.2.3/tool.phar' ) ;
8080 } ) ;
8181
82- it ( 'checking getCodeceptionUriBuilder' , async ( ) => {
83- expect ( await tools . getCodeceptionUriBuilder ( '3.2.1' , 'php56' ) ) . toBe (
84- 'releases/3.2.1/php56/codecept.phar'
85- ) ;
86- expect ( await tools . getCodeceptionUriBuilder ( '3.2.1' , 'php54' ) ) . toBe (
87- 'releases/3.2.1/php54/codecept.phar'
88- ) ;
89- expect ( await tools . getCodeceptionUriBuilder ( '3.2.1' , '' ) ) . toBe (
90- 'releases/3.2.1/codecept.phar'
91- ) ;
92- } ) ;
93-
94- it ( 'checking getCodeceptionUri' , async ( ) => {
95- expect ( await tools . getCodeceptionUri ( 'latest' , '5.6' ) ) . toBe (
96- 'php56/codecept.phar'
97- ) ;
98- expect ( await tools . getCodeceptionUri ( 'latest' , '7.0' ) ) . toBe (
99- 'php56/codecept.phar'
100- ) ;
101- expect ( await tools . getCodeceptionUri ( 'latest' , '7.1' ) ) . toBe (
102- 'php56/codecept.phar'
103- ) ;
104- expect ( await tools . getCodeceptionUri ( 'latest' , '7.2' ) ) . toBe (
105- 'codecept.phar'
106- ) ;
107- expect ( await tools . getCodeceptionUri ( 'latest' , '7.3' ) ) . toBe (
108- 'codecept.phar'
109- ) ;
110- expect ( await tools . getCodeceptionUri ( 'latest' , '7.4' ) ) . toBe (
111- 'codecept.phar'
112- ) ;
113- expect ( await tools . getCodeceptionUri ( '4.0.0' , '7.4' ) ) . toBe (
114- 'releases/4.0.0/codecept.phar'
115- ) ;
116- expect ( await tools . getCodeceptionUri ( '4.0.0' , '5.6' ) ) . toBe (
117- 'releases/4.0.0/php56/codecept.phar'
118- ) ;
119- expect ( await tools . getCodeceptionUri ( '4.0.0' , '7.1' ) ) . toBe (
120- 'releases/4.0.0/php56/codecept.phar'
121- ) ;
122- expect ( await tools . getCodeceptionUri ( '3.1.0' , '7.4' ) ) . toBe (
123- 'releases/3.1.0/codecept.phar'
124- ) ;
125- expect ( await tools . getCodeceptionUri ( '3.1.0' , '5.6' ) ) . toBe (
126- 'releases/3.1.0/php54/codecept.phar'
127- ) ;
128- expect ( await tools . getCodeceptionUri ( '2.5.4' , '7.4' ) ) . toBe (
129- 'releases/2.5.4/codecept.phar'
130- ) ;
131- expect ( await tools . getCodeceptionUri ( '2.5.4' , '5.6' ) ) . toBe (
132- 'releases/2.5.4/php54/codecept.phar'
133- ) ;
134- expect ( await tools . getCodeceptionUri ( '2.3.4' , '7.4' ) ) . toBe (
135- 'releases/2.3.4/codecept.phar'
136- ) ;
137- expect ( await tools . getCodeceptionUri ( '2.3.4' , '5.4' ) ) . toBe (
138- 'releases/2.3.4/php54/codecept.phar'
139- ) ;
140- expect ( await tools . getCodeceptionUri ( '2.2.4' , '5.6' ) ) . toBe (
141- 'releases/2.2.4/codecept.phar'
142- ) ;
143- expect ( await tools . getCodeceptionUri ( '2.2.4' , '7.4' ) ) . toBe (
144- 'releases/2.2.4/codecept.phar'
145- ) ;
146- expect ( await tools . getCodeceptionUri ( '2.2.4' , '5.4' ) ) . toBe (
147- 'releases/2.2.4/php54/codecept.phar'
148- ) ;
149- expect ( await tools . getCodeceptionUri ( '2.1.7' , '5.6' ) ) . toBe (
150- 'releases/2.1.7/codecept.phar'
151- ) ;
152- expect ( await tools . getCodeceptionUri ( '2.1.7' , '5.4' ) ) . toBe (
153- 'releases/2.1.7/php54/codecept.phar'
154- ) ;
155- expect ( await tools . getCodeceptionUri ( '2.1.5' , '5.4' ) ) . toBe (
156- 'releases/2.1.5/codecept.phar'
157- ) ;
158- expect ( await tools . getCodeceptionUri ( '2.1.5' , '7.4' ) ) . toBe (
159- 'releases/2.1.5/codecept.phar'
160- ) ;
161- expect ( await tools . getCodeceptionUri ( '1.6.9' , '7.4' ) ) . toBe (
162- 'releases/1.6.9/codecept.phar'
163- ) ;
164- expect ( await tools . getCodeceptionUri ( '1.5.0' , '7.4' ) ) . toBe (
165- 'releases/1.5.0/codecept.phar'
166- ) ;
167- } ) ;
168-
16982 it ( 'checking addPhive' , async ( ) => {
17083 let script : string = await tools . addPhive ( '1.2.3' , '7.4' , 'linux' ) ;
17184 expect ( script ) . toContain (
@@ -581,7 +494,6 @@ describe('Tools tests', () => {
581494 const listOfTools = [
582495 'blackfire' ,
583496 'blackfire-player:1.8.1' ,
584- 'codeception' ,
585497 'cs2pr' ,
586498 'deployer' ,
587499 'does_not_exist' ,
@@ -635,6 +547,7 @@ describe('Tools tests', () => {
635547 it ( 'checking addTools with composer tool using user/tool as input' , async ( ) => {
636548 const listOfTools = [
637549 'composer:v1' ,
550+ 'codeception/codeception' ,
638551 'hirak/prestissimo' ,
639552 'narrowspark/automatic-composer-prefetcher' ,
640553 'robmorgan/phinx'
0 commit comments