clean up some tests
This commit is contained in:
parent
d4db47aca0
commit
6800ab240a
@ -23,7 +23,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>type</td>
|
<td>type</td>
|
||||||
<td>//textarea[@name="wdts[transcripts][en]"]</td>
|
<td>//textarea[@name="wdts[transcripts][en][transcript]"]</td>
|
||||||
<td>This is a test transcript inserted on creation.</td>
|
<td>This is a test transcript inserted on creation.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@ -48,7 +48,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>assertValue</td>
|
<td>assertValue</td>
|
||||||
<td>//textarea[@name="wdts[transcripts][en]"]</td>
|
<td>//textarea[@name="wdts[transcripts][en][transcript]"]</td>
|
||||||
<td>This is a test transcript inserted on creation.</td>
|
<td>This is a test transcript inserted on creation.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -23,12 +23,12 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>assertVisible</td>
|
<td>assertVisible</td>
|
||||||
<td>//textarea[@name="wdts[transcripts][en]"]</td>
|
<td>//textarea[@name="wdts[transcripts][en][transcript]"]</td>
|
||||||
<td></td>
|
<td></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>type</td>
|
<td>type</td>
|
||||||
<td>//textarea[@name="wdts[transcripts][en]"]</td>
|
<td>//textarea[@name="wdts[transcripts][en][transcript]"]</td>
|
||||||
<td>This is a test transcript.</td>
|
<td>This is a test transcript.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@ -38,17 +38,17 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>assertVisible</td>
|
<td>assertVisible</td>
|
||||||
<td>//textarea[@name="wdts[transcripts][de]"]</td>
|
<td>//textarea[@name="wdts[transcripts][de][transcript]"]</td>
|
||||||
<td></td>
|
<td></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>assertNotVisible</td>
|
<td>assertNotVisible</td>
|
||||||
<td>//textarea[@name="wdts[transcripts][en]"]</td>
|
<td>//textarea[@name="wdts[transcripts][en][transcript]"]</td>
|
||||||
<td></td>
|
<td></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>type</td>
|
<td>type</td>
|
||||||
<td>//textarea[@name="wdts[transcripts][de]"]</td>
|
<td>//textarea[@name="wdts[transcripts][de][transcript]"]</td>
|
||||||
<td>Dies ist ein Test transcript.</td>
|
<td>Dies ist ein Test transcript.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@ -63,12 +63,12 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>assertValue</td>
|
<td>assertValue</td>
|
||||||
<td>//textarea[@name="wdts[transcripts][en]"]</td>
|
<td>//textarea[@name="wdts[transcripts][en][transcript]"]</td>
|
||||||
<td>This is a test transcript.</td>
|
<td>This is a test transcript.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>assertValue</td>
|
<td>assertValue</td>
|
||||||
<td>//textarea[@name="wdts[transcripts][de]"]</td>
|
<td>//textarea[@name="wdts[transcripts][de][transcript]"]</td>
|
||||||
<td>Dies ist ein Test transcript.</td>
|
<td>Dies ist ein Test transcript.</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
@ -138,7 +138,7 @@ function transcripts_display($language_format = null, $show_transcripts_string =
|
|||||||
foreach ($post_transcripts as $transcript) {
|
foreach ($post_transcripts as $transcript) {
|
||||||
$transcript_text = trim($transcript['transcript']);
|
$transcript_text = trim($transcript['transcript']);
|
||||||
if (!empty($transcript_text)) {
|
if (!empty($transcript_text)) {
|
||||||
$transcripts[$transcript_language] = $transcript;
|
$transcripts[$transcript['language']] = $transcript;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user