File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 66use Illuminate \Http \Response ;
77use Illuminate \Support \Facades \Config ;
88use PHPUnit \Framework \Attributes \Test ;
9+ use StatamicRadPack \Runway \Data \AugmentedModel ;
910use StatamicRadPack \Runway \Resource ;
1011use StatamicRadPack \Runway \Routing \RoutingModel ;
1112use StatamicRadPack \Runway \Runway ;
@@ -148,14 +149,14 @@ public function can_get_route_key()
148149 }
149150
150151 #[Test]
151- public function can_get_augmented_array_data ()
152+ public function can_get_augmented_instance ()
152153 {
153154 $ post = Post::factory ()->createQuietly ();
154155 $ post ->runwayUri ()->create (['uri ' => '/blog/post-slug ' ]);
155156
156157 $ routingModel = new RoutingModel ($ post );
157158
158- $ this ->assertEquals ( $ post -> toArray () , $ routingModel ->augmentedArrayData ());
159+ $ this ->assertInstanceOf (AugmentedModel::class , $ routingModel ->newAugmentedInstance ());
159160 }
160161
161162 #[Test]
You can’t perform that action at this time.
0 commit comments