77use Illuminate \Support \Facades \Config ;
88use NathanHeffley \LaravelWatermelon \Tests \models \CustomTask as Task ;
99use NathanHeffley \LaravelWatermelon \Tests \TestCase ;
10+ use PHPUnit \Framework \Attributes \Test ;
1011
1112class CustomWatermelonIDModelPullTest extends TestCase
1213{
@@ -25,7 +26,7 @@ public function setUp(): void
2526 ]);
2627 }
2728
28- /** @test */
29+ #[Test]
2930 public function it_can_respond_to_pull_requests_with_no_data_and_no_last_pulled_at_timestamp (): void
3031 {
3132 $ response = $ this ->json ('GET ' , '/sync ' );
@@ -42,7 +43,7 @@ public function it_can_respond_to_pull_requests_with_no_data_and_no_last_pulled_
4243 ]);
4344 }
4445
45- /** @test */
46+ #[Test]
4647 public function it_can_respond_to_pull_requests_with_no_data_and_a_null_last_pulled_at_timestamp (): void
4748 {
4849 $ response = $ this ->json ('GET ' , '/sync?last_pulled_at=null ' );
@@ -59,7 +60,7 @@ public function it_can_respond_to_pull_requests_with_no_data_and_a_null_last_pul
5960 ]);
6061 }
6162
62- /** @test */
63+ #[Test]
6364 public function it_can_respond_to_pull_requests_with_no_data_and_a_zero_last_pulled_at_timestamp (): void
6465 {
6566 $ response = $ this ->json ('GET ' , '/sync?last_pulled_at=0 ' );
@@ -76,7 +77,7 @@ public function it_can_respond_to_pull_requests_with_no_data_and_a_zero_last_pul
7677 ]);
7778 }
7879
79- /** @test */
80+ #[Test]
8081 public function it_can_respond_to_pull_requests_with_no_changes_and_a_last_pulled_at_timestamp (): void
8182 {
8283 $ lastPulledAt = now ()->subMinutes (10 )->timestamp ;
@@ -94,7 +95,7 @@ public function it_can_respond_to_pull_requests_with_no_changes_and_a_last_pulle
9495 ]);
9596 }
9697
97- /** @test */
98+ #[Test]
9899 public function it_can_respond_to_pull_requests_with_data_and_no_last_pulled_at_timestamp (): void
99100 {
100101 Task::query ()->create ([
@@ -141,7 +142,7 @@ public function it_can_respond_to_pull_requests_with_data_and_no_last_pulled_at_
141142 ]);
142143 }
143144
144- /** @test */
145+ #[Test]
145146 public function it_can_respond_to_pull_requests_with_data_and_a_null_last_pulled_at_timestamp (): void
146147 {
147148 Task::query ()->create ([
@@ -188,7 +189,7 @@ public function it_can_respond_to_pull_requests_with_data_and_a_null_last_pulled
188189 ]);
189190 }
190191
191- /** @test */
192+ #[Test]
192193 public function it_can_respond_to_pull_requests_with_data_and_a_zero_last_pulled_at_timestamp (): void
193194 {
194195 Task::query ()->create ([
@@ -235,7 +236,7 @@ public function it_can_respond_to_pull_requests_with_data_and_a_zero_last_pulled
235236 ]);
236237 }
237238
238- /** @test */
239+ #[Test]
239240 public function it_can_respond_to_pull_requests_with_data_and_a_last_pulled_at_timestamp (): void
240241 {
241242 Task::query ()->create ([
@@ -298,7 +299,7 @@ public function it_can_respond_to_pull_requests_with_data_and_a_last_pulled_at_t
298299 ]);
299300 }
300301
301- /** @test */
302+ #[Test]
302303 public function it_can_respond_to_pull_requests_with_lots_of_deleted_records_and_a_last_pulled_at_timestamp (): void
303304 {
304305 Task::query ()->create ([
0 commit comments