[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[5443] trunk/t/99-versioning.t



Revision: 5443
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=5443&view=rev
Author:   einhverfr
Date:     2012-12-30 10:14:47 +0000 (Sun, 30 Dec 2012)
Log Message:
-----------
Removing tests for removed VERSION file

Modified Paths:
--------------
    trunk/t/99-versioning.t

Modified: trunk/t/99-versioning.t
===================================================================
--- trunk/t/99-versioning.t	2012-12-30 10:12:57 UTC (rev 5442)
+++ trunk/t/99-versioning.t	2012-12-30 10:14:47 UTC (rev 5443)
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-use Test::More tests => 17;
+use Test::More tests => 12;
 
 use LedgerSMB;
 use LedgerSMB::Form;
@@ -23,16 +23,6 @@
 is($lsmb->{version}, $form->{version}, 'LedgerSMB and Form versions match');
 is($lsmb->{dbversion}, $form->{dbversion}, 'LedgerSMB and Form dbversions match');
 
-ok(-e 'VERSION', 'VERSION exists');
-ok(-s 'VERSION', 'VERSION non-empty');
-ok(-r 'VERSION', 'VERSION readable');
-open(my $FH, '<', 'VERSION');
-my $ver = readline $FH;
-close $FH;
-chomp $ver;
-is($lsmb->{version}, $ver, 'LedgerSMB version matches VERSION');
-is($form->{version}, $ver, 'Form version matches VERSION');
-
 my @dparts;
 my @lparts;
 my $age;

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.