assertIsString($contents); foreach ($schedules as $schedule) { $this->assertStringContainsString($schedule, $contents, $file); } } $runner = file_get_contents($root . '/deploy/run-finance-batch.sh'); $this->assertIsString($runner); $this->assertStringContainsString('business-mirror:sync-promotion-expenses', $runner); } }