@@ -26,9 +26,9 @@ protected function setUp(): void
2626 }
2727
2828 /** @test */
29- public function it_adds_roles_to_the_database ()
29+ public function it_adds_roles_to_the_database_in_remote ()
3030 {
31- $ updater = new UpdaterFake ('/ test-data ' , 'roles ' , true , 's3 ' );
31+ $ updater = new UpdaterFake ('test-data ' , 'roles ' , true , 's3 ' );
3232
3333 $ updater ->run ();
3434
@@ -38,7 +38,7 @@ public function it_adds_roles_to_the_database()
3838 }
3939
4040 /** @test */
41- public function it_can_default_to_configuration ()
41+ public function it_can_default_to_configuration_in_remote ()
4242 {
4343 config ()->set ('data-sync.path ' , 'test-data ' );
4444
@@ -52,7 +52,7 @@ public function it_can_default_to_configuration()
5252 }
5353
5454 /** @test */
55- public function it_can_update_an_existing_record ()
55+ public function it_can_update_an_existing_record_in_remote ()
5656 {
5757 config ()->set ('data-sync.path ' , 'test-data ' );
5858 (new UpdaterFake (null , null , true , 's3 ' ))->run ();
@@ -66,7 +66,7 @@ public function it_can_update_an_existing_record()
6666 }
6767
6868 /** @test */
69- public function it_can_update_the_relationship ()
69+ public function it_can_update_the_relationship_in_remote ()
7070 {
7171 $ supervisor = Supervisor::create ([
7272 'name ' => 'CEO ' ,
@@ -95,7 +95,7 @@ public function exception_is_thrown_if_the_directory_does_not_exists()
9595 }
9696
9797 /** @test */
98- public function invalid_json_throws_an_exception ()
98+ public function invalid_json_throws_an_exception_in_remote ()
9999 {
100100 try {
101101 $ updater = new UpdaterFake ('test-data/invalid-json ' , null , true , 's3 ' );
@@ -108,7 +108,7 @@ public function invalid_json_throws_an_exception()
108108 }
109109
110110 /** @test */
111- public function the_json_must_contain_a_key_with_an_underscore ()
111+ public function the_json_must_contain_a_key_with_an_underscore_in_remote ()
112112 {
113113 try {
114114 $ updater = new UpdaterFake ('test-data/no-criteria ' , null , true , 's3 ' );
@@ -121,7 +121,7 @@ public function the_json_must_contain_a_key_with_an_underscore()
121121 }
122122
123123 /** @test */
124- public function order_of_imports_can_be_defined_in_config ()
124+ public function order_of_imports_can_be_defined_in_config_in_remote ()
125125 {
126126 config ()->set ('data-sync.order ' , [
127127 'Supervisor ' ,
@@ -136,7 +136,7 @@ public function order_of_imports_can_be_defined_in_config()
136136 }
137137
138138 /** @test */
139- public function exception_is_thrown_if_imports_are_in_incorrect_order ()
139+ public function exception_is_thrown_if_imports_are_in_incorrect_order_in_remote ()
140140 {
141141 config ()->set ('data-sync.order ' , [
142142 'Roles ' ,
@@ -150,9 +150,9 @@ public function exception_is_thrown_if_imports_are_in_incorrect_order()
150150 }
151151
152152 /** @test */
153- public function it_ignores_non_json_files ()
153+ public function it_ignores_non_json_files_in_remote ()
154154 {
155- $ updater = new UpdaterFake (__DIR__ . ' /../ test-data/not-json ' );
155+ $ updater = new UpdaterFake (' test-data/not-json ' , null , true , ' s3 ' );
156156 $ updater ->run ();
157157
158158 $ this ->assertDatabaseMissing ('roles ' , ['slug ' => 'update-student-records ' ]);
0 commit comments