clean up some tests

This commit is contained in:
John Bintz 2009-10-25 23:06:20 -04:00
parent d4db47aca0
commit 6800ab240a
3 changed files with 10 additions and 10 deletions

View File

@ -23,7 +23,7 @@
</tr>
<tr>
<td>type</td>
<td>//textarea[@name=&quot;wdts[transcripts][en]&quot;]</td>
<td>//textarea[@name=&quot;wdts[transcripts][en][transcript]&quot;]</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=&quot;wdts[transcripts][en]&quot;]</td>
<td>//textarea[@name=&quot;wdts[transcripts][en][transcript]&quot;]</td>
<td>This is a test transcript inserted on creation.</td>
</tr>
<tr>

View File

@ -23,12 +23,12 @@
</tr>
<tr>
<td>assertVisible</td>
<td>//textarea[@name=&quot;wdts[transcripts][en]&quot;]</td>
<td>//textarea[@name=&quot;wdts[transcripts][en][transcript]&quot;]</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>//textarea[@name=&quot;wdts[transcripts][en]&quot;]</td>
<td>//textarea[@name=&quot;wdts[transcripts][en][transcript]&quot;]</td>
<td>This is a test transcript.</td>
</tr>
<tr>
@ -38,17 +38,17 @@
</tr>
<tr>
<td>assertVisible</td>
<td>//textarea[@name=&quot;wdts[transcripts][de]&quot;]</td>
<td>//textarea[@name=&quot;wdts[transcripts][de][transcript]&quot;]</td>
<td></td>
</tr>
<tr>
<td>assertNotVisible</td>
<td>//textarea[@name=&quot;wdts[transcripts][en]&quot;]</td>
<td>//textarea[@name=&quot;wdts[transcripts][en][transcript]&quot;]</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>//textarea[@name=&quot;wdts[transcripts][de]&quot;]</td>
<td>//textarea[@name=&quot;wdts[transcripts][de][transcript]&quot;]</td>
<td>Dies ist ein Test transcript.</td>
</tr>
<tr>
@ -63,12 +63,12 @@
</tr>
<tr>
<td>assertValue</td>
<td>//textarea[@name=&quot;wdts[transcripts][en]&quot;]</td>
<td>//textarea[@name=&quot;wdts[transcripts][en][transcript]&quot;]</td>
<td>This is a test transcript.</td>
</tr>
<tr>
<td>assertValue</td>
<td>//textarea[@name=&quot;wdts[transcripts][de]&quot;]</td>
<td>//textarea[@name=&quot;wdts[transcripts][de][transcript]&quot;]</td>
<td>Dies ist ein Test transcript.</td>
</tr>

View File

@ -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;
}
}