File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -79,10 +79,11 @@ public function testCanLoadAllVersionsByContraint()
7979
8080 // tests for version >=1.0.0
8181 $ modules = $ this ->loader ->loadAllByArchiveNameAndConstraint ('composer/autoload ' , '^1.2.0 ' );
82- $ this ->assertEquals (4 , count ($ modules ));
82+ $ this ->assertEquals (5 , count ($ modules ));
8383 $ this ->assertEquals ('1.2.0 ' , $ modules [0 ]->getVersion ());
8484 $ this ->assertEquals ('1.2.1 ' , $ modules [1 ]->getVersion ());
8585 $ this ->assertEquals ('1.2.2 ' , $ modules [2 ]->getVersion ());
8686 $ this ->assertEquals ('1.3.0 ' , $ modules [3 ]->getVersion ());
87+ $ this ->assertEquals ('1.4.0 ' , $ modules [4 ]->getVersion ());
8788 }
8889}
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ public function testCanLoadLatestVersionByArchiveName()
7474 $ module = $ this ->loader ->loadLatestVersionByArchiveName ('composer/autoload ' );
7575
7676 $ this ->assertEquals ('composer/autoload ' , $ module ->getArchiveName ());
77- $ this ->assertEquals ('1.3 .0 ' , $ module ->getVersion ());
77+ $ this ->assertEquals ('1.4 .0 ' , $ module ->getVersion ());
7878 }
7979
8080 public function testCanLoadByArchiveNameAndVersion ()
You can’t perform that action at this time.
0 commit comments