@@ -41,9 +41,9 @@ public function testHydratesCapturedCurrentWeather(): void
4141 self ::assertSame (71 , $ current ->humidity ());
4242 self ::assertSame (Unit::PERCENT , $ current ->humidityUnit ());
4343 self ::assertSame ('71 % ' , $ current ->humidityWithUnit ());
44- self ::assertSame (18.75 , $ current ->dewPointTemperature ());
45- self ::assertSame (Unit::CELSIUS , $ current ->dewPointTemperatureUnit ());
46- self ::assertSame ('18.75 °C ' , $ current ->dewPointTemperatureWithUnit ());
44+ self ::assertSame (18.75 , $ current ->dewPoint ());
45+ self ::assertSame (Unit::CELSIUS , $ current ->dewPointUnit ());
46+ self ::assertSame ('18.75 °C ' , $ current ->dewPointWithUnit ());
4747 self ::assertSame (7.53 , $ current ->ultravioletIndex ());
4848 self ::assertSame (40 , $ current ->clouds ()?->coverage());
4949 self ::assertSame (Unit::PERCENT , $ current ->clouds ()?->coverageUnit());
@@ -123,7 +123,7 @@ public function testRetainsUnitsFromHydrationContext(): void
123123 self ::assertSame (Unit::FAHRENHEIT , $ current ->temperatureUnit ());
124124 self ::assertSame ('72.5 °F ' , $ current ->temperatureWithUnit ());
125125 self ::assertSame ('71 °F ' , $ current ->feelsLikeTemperatureWithUnit ());
126- self ::assertSame ('60 °F ' , $ current ->dewPointTemperatureWithUnit ());
126+ self ::assertSame ('60 °F ' , $ current ->dewPointWithUnit ());
127127 self ::assertSame (Unit::MILES_PER_HOUR , $ current ->wind ()?->speedUnit());
128128 self ::assertSame ('10 mph ' , $ current ->wind ()?->speedWithUnit());
129129 self ::assertSame ('15 mph ' , $ current ->wind ()?->gustWithUnit());
@@ -138,7 +138,7 @@ public function testToleratesMissingNullUnknownAndPartialFields(): void
138138 self ::assertNull ($ missing ->dateTime ());
139139 self ::assertNull ($ missing ->temperature ());
140140 self ::assertNull ($ missing ->temperatureWithUnit ());
141- self ::assertNull ($ missing ->dewPointTemperature ());
141+ self ::assertNull ($ missing ->dewPoint ());
142142 self ::assertNull ($ missing ->ultravioletIndex ());
143143 self ::assertNull ($ missing ->wind ());
144144 self ::assertNull ($ missing ->clouds ());
0 commit comments