| @@ -9,10 +9,12 @@ | ||
| 9 | 9 | |
| 10 | 10 | /** |
| 11 | 11 | * Creates a new Report_Builder instance. |
| 12 | 12 | * |
| 13 | + * @param string $test_identifier The test identifier as a string. | |
| 13 | 14 | * @return Report_Builder The new Report_Builder instance. |
| 14 | 15 | */ |
| 15 | - public function create() { | |
| 16 | - return new Report_Builder(); | |
| 16 | + public function create( $test_identifier ) { | |
| 17 | + $instance = new Report_Builder(); | |
| 18 | + return $instance->set_test_identifier( $test_identifier ); | |
| 17 | 19 | } |
| 18 | 20 | } |