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