@@ -34,7 +34,7 @@ protected function getFileContents(string $filepath): string
3434
3535 public function testCreateComponentProducesManyFiles ()
3636 {
37- command ('make:component people ' );
37+ command ('make:scaffold people ' );
3838
3939 $ dir = '\\' . DIRECTORY_SEPARATOR ;
4040 $ migration = "APPPATH {$ dir }Database {$ dir }Migrations {$ dir }(.*)\.php " ;
@@ -57,7 +57,7 @@ public function testCreateComponentProducesManyFiles()
5757
5858 public function testCreateComponentWithManyOptions ()
5959 {
60- command ('make:component user -restful -return entity ' );
60+ command ('make:scaffold user -restful -return entity ' );
6161
6262 $ dir = '\\' . DIRECTORY_SEPARATOR ;
6363 $ migration = "APPPATH {$ dir }Database {$ dir }Migrations {$ dir }(.*)\.php " ;
@@ -86,7 +86,7 @@ public function testCreateComponentWithManyOptions()
8686
8787 public function testCreateComponentWithOptionSuffix ()
8888 {
89- command ('make:component order -suffix ' );
89+ command ('make:scaffold order -suffix ' );
9090
9191 $ dir = '\\' . DIRECTORY_SEPARATOR ;
9292 $ migration = "APPPATH {$ dir }Database {$ dir }Migrations {$ dir }(.*)\.php " ;
@@ -115,7 +115,7 @@ public function testCreateComponentWithOptionForce()
115115 $ this ->assertFileExists (APPPATH . 'Controllers/Fixer.php ' );
116116 CITestStreamFilter::$ buffer = '' ;
117117
118- command ('make:component fixer -bare -force ' );
118+ command ('make:scaffold fixer -bare -force ' );
119119
120120 $ dir = '\\' . DIRECTORY_SEPARATOR ;
121121 $ migration = "APPPATH {$ dir }Database {$ dir }Migrations {$ dir }(.*)\.php " ;
@@ -142,7 +142,7 @@ public function testCreateComponentWithOptionForce()
142142
143143 public function testCreateComponentWithOptionNamespace ()
144144 {
145- command ('make:component product -namespace App ' );
145+ command ('make:scaffold product -namespace App ' );
146146
147147 $ dir = '\\' . DIRECTORY_SEPARATOR ;
148148 $ migration = "APPPATH {$ dir }Database {$ dir }Migrations {$ dir }(.*)\.php " ;
0 commit comments