Permalink
Browse files

fixed test

  • Loading branch information...
Fallucch
Fallucch committed Jun 19, 2012
1 parent 651b80f commit f68947e6b00de741a17cadd261f38d2edc50b5c7
View
@@ -6,3 +6,4 @@ lib/model/om/*
log/*
nbproject/
/build
+config/databases.yml
View
@@ -6,7 +6,7 @@
/doc/*
/nbproject
.git
-/web/billify.php
+web/billify.php
.htaccess
-/test
-/build
+#/test
+/build
@@ -46,15 +46,15 @@
checkResponseElement('.fatture td', 'Pro-Forma', array('position' => 16))->
checkResponseElement('.fatture td', '1', array('position' => 24))->
checkResponseElement('.fatture td', '2', array('position' => 32))->
- checkResponseElement('.fatture td', '3', array('position' => 40))->
+ checkResponseElement('.fatture td', '3', array('position' => 40))->
checkResponseElement('.title h2', '/01 Azienda/')->
checkResponseElement('#contatti', '/via degli ulivi, 19/')->
checkResponseElement('#contatti', '/60100 Milano \(MI\)/')->
checkResponseElement('#contatti', '/Tel. 35989805/')->
checkResponseElement('#contatti', '/Referente: Utente utente/')->
checkResponseElement('#contatti', '/E-Mail: azienda@example.it/')->
checkResponseElement('#contatti', '/P.IVA: 343810309/')->
- checkResponseElement('select[name="year"] option[selected]', '/2011/')->
+ checkResponseElement('select[name="year"] option[selected]', '/'.date("Y").'/')->
checkResponseElement('.total .stimato', '/6.000/')->
checkResponseElement('.total', '/3.000/');
@@ -99,7 +99,7 @@
click('Filtra')->
with('response')->begin()->
checkElement('td', '!/pagata/')->
- checkElement('.fatture tbody tr ', 10)->
+ checkElement('.fatture tbody tr ', 9)->
end()->
setField('fattura_filters[data][from]', date('d/m/Y', strtotime('first day of last month')))->
setField('fattura_filters[data][to]', date('t/m/Y', strtotime('first day of last month')))->
@@ -194,7 +194,7 @@
$browser->info('cancello una fattura di un fornitore')->
get('/invoices/purchase')->
with('response')->begin()->
- checkElement('a[title="delete"]', 11)->
+ checkElement('a[title="delete"]', 10)->
checkElement('a[title="delete"][href="/index.php/invoice/delete/id/'.$purchase->getId().'"]', 1)->
end()->
get('/invoice/delete/id/'.$purchase->getId())->
View
@@ -5,6 +5,9 @@ Options +FollowSymLinks +ExecCGI
<IfModule mod_rewrite.c>
RewriteEngine On
+# RewriteLog "/var/log/httpd/rewrite.log"
+# RewriteCond %{HTTPS} off
+# RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
# we skip all files with .something
RewriteCond %{REQUEST_URI} \..+$

0 comments on commit f68947e

Please sign in to comment.