Skip to content

Commit 415c220

Browse files
committed
Remove n.e.x.t in tests.
1 parent 4cf2a61 commit 415c220

File tree

2 files changed

+0
-46
lines changed

2 files changed

+0
-46
lines changed

tests/phpunit/tests/Builders/Prompt_Builder_Tests.php

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,6 @@ protected function setUp(): void {
113113

114114
/**
115115
* Test that Prompt_Builder can be instantiated.
116-
*
117-
* @since n.e.x.t
118116
*/
119117
public function test_instantiation(): void {
120118
$registry = AiClient::defaultRegistry();
@@ -133,8 +131,6 @@ public function test_instantiation(): void {
133131

134132
/**
135133
* Test that Prompt_Builder can be instantiated with initial prompt content.
136-
*
137-
* @since n.e.x.t
138134
*/
139135
public function test_instantiation_with_prompt(): void {
140136
$registry = AiClient::defaultRegistry();
@@ -148,8 +144,6 @@ public function test_instantiation_with_prompt(): void {
148144
*
149145
* This tests the bug fix where methods that return the PromptBuilder instance
150146
* should instead return the Prompt_Builder decorator to allow proper chaining.
151-
*
152-
* @since n.e.x.t
153147
*/
154148
public function test_method_chaining_returns_decorator(): void {
155149
$registry = AiClient::defaultRegistry();
@@ -205,8 +199,6 @@ public function test_method_chaining_returns_decorator(): void {
205199
* Test complex method chaining scenario.
206200
*
207201
* This tests that multiple methods can be chained together fluently.
208-
*
209-
* @since n.e.x.t
210202
*/
211203
public function test_complex_method_chaining(): void {
212204
$registry = AiClient::defaultRegistry();
@@ -227,8 +219,6 @@ public function test_complex_method_chaining(): void {
227219

228220
/**
229221
* Test that boolean-returning methods do not return the decorator.
230-
*
231-
* @since n.e.x.t
232222
*/
233223
public function test_boolean_methods_return_boolean(): void {
234224
$registry = AiClient::defaultRegistry();
@@ -245,8 +235,6 @@ public function test_boolean_methods_return_boolean(): void {
245235
*
246236
* This tests that snake_case method names are properly converted to camelCase
247237
* when proxying to the underlying PromptBuilder.
248-
*
249-
* @since n.e.x.t
250238
*/
251239
public function test_snake_case_to_camel_case_conversion(): void {
252240
$registry = AiClient::defaultRegistry();
@@ -277,8 +265,6 @@ public function test_snake_case_to_camel_case_conversion(): void {
277265

278266
/**
279267
* Test that calling a non-existent method throws an exception.
280-
*
281-
* @since n.e.x.t
282268
*/
283269
public function test_invalid_method_throws_exception(): void {
284270
$registry = AiClient::defaultRegistry();
@@ -292,8 +278,6 @@ public function test_invalid_method_throws_exception(): void {
292278

293279
/**
294280
* Test that get_builder_callable returns a valid callable.
295-
*
296-
* @since n.e.x.t
297281
*/
298282
public function test_get_builder_callable(): void {
299283
$registry = AiClient::defaultRegistry();
@@ -315,8 +299,6 @@ public function test_get_builder_callable(): void {
315299

316300
/**
317301
* Test that the wrapped builder is properly configured with the registry.
318-
*
319-
* @since n.e.x.t
320302
*/
321303
public function test_wrapped_builder_has_correct_registry(): void {
322304
$registry = AiClient::defaultRegistry();
@@ -336,8 +318,6 @@ public function test_wrapped_builder_has_correct_registry(): void {
336318

337319
/**
338320
* Test method chaining with with_history.
339-
*
340-
* @since n.e.x.t
341321
*/
342322
public function test_method_chaining_with_history(): void {
343323
$registry = AiClient::defaultRegistry();
@@ -371,8 +351,6 @@ public function test_method_chaining_with_history(): void {
371351

372352
/**
373353
* Test method chaining with using_model_config.
374-
*
375-
* @since n.e.x.t
376354
*/
377355
public function test_method_chaining_with_model_config(): void {
378356
$registry = AiClient::defaultRegistry();

tests/phpunit/tests/Builders/Prompt_Builder_With_WP_Error_Tests.php

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ class Prompt_Builder_With_WP_Error_Tests extends Test_Case {
2222

2323
/**
2424
* Test that Prompt_Builder_With_WP_Error can be instantiated.
25-
*
26-
* @since n.e.x.t
2725
*/
2826
public function test_instantiation(): void {
2927
$registry = AiClient::defaultRegistry();
@@ -35,8 +33,6 @@ public function test_instantiation(): void {
3533

3634
/**
3735
* Test that Prompt_Builder_With_WP_Error can be instantiated with initial prompt content.
38-
*
39-
* @since n.e.x.t
4036
*/
4137
public function test_instantiation_with_prompt(): void {
4238
$registry = AiClient::defaultRegistry();
@@ -50,8 +46,6 @@ public function test_instantiation_with_prompt(): void {
5046
*
5147
* This tests the bug fix where methods that return the PromptBuilder instance
5248
* should instead return the Prompt_Builder_With_WP_Error decorator to allow proper chaining.
53-
*
54-
* @since n.e.x.t
5549
*/
5650
public function test_method_chaining_returns_decorator(): void {
5751
$registry = AiClient::defaultRegistry();
@@ -107,8 +101,6 @@ public function test_method_chaining_returns_decorator(): void {
107101
* Test complex method chaining scenario.
108102
*
109103
* This tests that multiple methods can be chained together fluently.
110-
*
111-
* @since n.e.x.t
112104
*/
113105
public function test_complex_method_chaining(): void {
114106
$registry = AiClient::defaultRegistry();
@@ -129,8 +121,6 @@ public function test_complex_method_chaining(): void {
129121

130122
/**
131123
* Test that boolean-returning methods do not return the decorator.
132-
*
133-
* @since n.e.x.t
134124
*/
135125
public function test_boolean_methods_return_boolean(): void {
136126
$registry = AiClient::defaultRegistry();
@@ -144,8 +134,6 @@ public function test_boolean_methods_return_boolean(): void {
144134

145135
/**
146136
* Test that calling a non-existent method throws an exception.
147-
*
148-
* @since n.e.x.t
149137
*/
150138
public function test_invalid_method_throws_exception(): void {
151139
$registry = AiClient::defaultRegistry();
@@ -159,8 +147,6 @@ public function test_invalid_method_throws_exception(): void {
159147

160148
/**
161149
* Test method chaining with with_history.
162-
*
163-
* @since n.e.x.t
164150
*/
165151
public function test_method_chaining_with_history(): void {
166152
$registry = AiClient::defaultRegistry();
@@ -194,8 +180,6 @@ public function test_method_chaining_with_history(): void {
194180

195181
/**
196182
* Test method chaining with using_model_config.
197-
*
198-
* @since n.e.x.t
199183
*/
200184
public function test_method_chaining_with_model_config(): void {
201185
$registry = AiClient::defaultRegistry();
@@ -213,8 +197,6 @@ public function test_method_chaining_with_model_config(): void {
213197
*
214198
* This test simulates an error state by directly setting the error property,
215199
* since fluent methods typically don't throw exceptions.
216-
*
217-
* @since n.e.x.t
218200
*/
219201
public function test_error_state_fluent_calls_return_same_instance(): void {
220202
$registry = AiClient::defaultRegistry();
@@ -238,8 +220,6 @@ public function test_error_state_fluent_calls_return_same_instance(): void {
238220
* Test that terminating methods return WP_Error when in error state.
239221
*
240222
* This test simulates an error state by directly setting the error property.
241-
*
242-
* @since n.e.x.t
243223
*/
244224
public function test_terminating_methods_return_wp_error_in_error_state(): void {
245225
$registry = AiClient::defaultRegistry();
@@ -260,8 +240,6 @@ public function test_terminating_methods_return_wp_error_in_error_state(): void
260240

261241
/**
262242
* Test that exception in terminating method is caught and returned as WP_Error.
263-
*
264-
* @since n.e.x.t
265243
*/
266244
public function test_exception_in_terminating_method_caught_and_returned(): void {
267245
$registry = AiClient::defaultRegistry();
@@ -283,8 +261,6 @@ public function test_exception_in_terminating_method_caught_and_returned(): void
283261

284262
/**
285263
* Test that the wrapped builder is properly configured with the registry.
286-
*
287-
* @since n.e.x.t
288264
*/
289265
public function test_wrapped_builder_has_correct_registry(): void {
290266
$registry = AiClient::defaultRegistry();

0 commit comments

Comments
 (0)