Skip to content

🎥 Make videos programmatically with React

fix input props

Jonny Burger328449d67df1
diff --git a/packages/it-tests/src/monorepo/php-package.test.ts b/packages/it-tests/src/monorepo/php-package.test.ts
index 04d9a66704..22798d31fe 100644
--- a/packages/it-tests/src/monorepo/php-package.test.ts
+++ b/packages/it-tests/src/monorepo/php-package.test.ts
@@ -62,6 +62,9 @@ test("PHP package should create the same payload as normal Lambda package", asyn
functionName: "remotion-render",
serveUrl: "testbed",
codec: "h264",
+ inputProps: {
+ hi: "there",
+ },
});
const jsonOutput = toParse.substring(0, toParse.lastIndexOf("}") + 1);
const parsedJson = JSON.parse(jsonOutput);
diff --git a/packages/lambda-php/src/PHPClientTest.php b/packages/lambda-php/src/PHPClientTest.php
index 6f8437f90b..d0d3fad6d8 100644
--- a/packages/lambda-php/src/PHPClientTest.php
+++ b/packages/lambda-php/src/PHPClientTest.php
@@ -19,7 +19,11 @@ class PHPClientTest extends TestCase
null
);
- $params = new RenderParams();
+ $params = new RenderParams(
+ data: [
+ 'hi' => 'there'
+ ],
+ );
$params->setComposition("react-svg");
$internalParams = $client->constructInternals($params);