File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ public function testCanLoadAllVersionsByContraint()
79
79
80
80
// tests for version >=1.0.0
81
81
$ modules = $ this ->loader ->loadAllByArchiveNameAndConstraint ('composer/autoload ' , '^1.2.0 ' );
82
- $ this ->assertEquals (5 , count ($ modules ));
82
+ $ this ->assertEquals (6 , count ($ modules ));
83
83
$ this ->assertEquals ('1.2.0 ' , $ modules [0 ]->getVersion ());
84
84
$ this ->assertEquals ('1.2.1 ' , $ modules [1 ]->getVersion ());
85
85
$ this ->assertEquals ('1.2.2 ' , $ modules [2 ]->getVersion ());
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ public function testCanLoadLatestVersionByArchiveName()
74
74
$ module = $ this ->loader ->loadLatestVersionByArchiveName ('composer/autoload ' );
75
75
76
76
$ this ->assertEquals ('composer/autoload ' , $ module ->getArchiveName ());
77
- $ this ->assertEquals ('1.4 .0 ' , $ module ->getVersion ());
77
+ $ this ->assertEquals ('1.5 .0 ' , $ module ->getVersion ());
78
78
}
79
79
80
80
public function testCanLoadByArchiveNameAndVersion ()
You can’t perform that action at this time.
0 commit comments